Learn R Programming

oncrawlR (version 0.2.0)

oncrawlCreateSegmentation: Transform a character array of URLs into JSON file for OnCrawl platform

Description

Transform a character array of URLs into JSON file for OnCrawl platform

Usage

oncrawlCreateSegmentation(list_urls, namefile, pathfile = tempdir())

Arguments

list_urls

your urls

namefile

the filename for the JSON export

pathfile

string. Optional. If not specified, the intermediate files are created under TEMPDIR, with the assumption that directory is granted for written permission.

Value

JSON file

Examples

Run this code
# NOT RUN {
mylist <- c("/cat/domain","/cat/")
oncrawlCreateSegmentation(mylist,"test.json")

# }

Run the code above in your browser using DataLab