Description Usage Arguments Details Examples
This function imports data that has already been downloaded from http://downloads.roadworks.org/
1 2 | rw_import_elgin_batch(folder_path, method = c("ttvdd", "ed",
"restrictions", "htdd"), pattern, ...)
|
folder_path |
path to folder containing csv file or compressed csv file |
method |
name of import algorithum to use |
pattern |
character string containing a regular expression. This is used as a filter rule for file names. For example pattern = "test" whold only import files with test in the file name. Passed to base::grepl |
... |
additonal variaibles passed to grepl |
A useful pattern is 'pattern = '^(?!.*log).*ttvdd' Which will return all files names with 'ttvdd' but exclude all file names with 'log' You must also pass the perl = TRUE parameter
1 2 3 4 | ## Not run:
d = rw_import_elgin_batch("C:/data","rw_import_elgin_ttvdd", '^(?!.*log).*ttvdd', perl = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.