Description Usage Arguments Value Examples
Import, read, and connect patent data files. Currently: xls files from a filepath. Future use: can read from a URL, an xlsx file, google doc, and a csv.
1 | importPatentData(rawDataFilePath = NA, skipLines = 1)
|
rawDataFilePath |
A filepath, or list of filespaths, for xls files. |
skipLines |
Number of lines to skip before reading in your data file. |
A single data frame of all data. NULL if no data.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# access the files here and put them in a data/ folder of your working directory.
file1 <- system.file("extdata/", "sumobrain_autonomous_search1.xlsx", package="patentr")
file2 <- system.file("extdata/", "sumobrain_autonomous_search2.xlsx", package="patentr")
files <- list(file1, file2)
ipData <- importPatentData(rawDataFilePath = files, skipLines = 1)
# example 2
# assume csv files are in the data folder
ipData <- importPatentData(rawDataFilePath = list.files('data/', full.names=T), skipLines = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.