Import selected data into R memory. Will auto-perform unzipping if necessary. Option to save the data objects as .Rda files ('save_rda').
1 2 | import_data(dir_rda = "data/data-raw/data-rda",
dir_retrieve = "data/data-raw", filenames = NULL, abbrevs = NULL)
|
dir_rda |
Directory location for storing the R data objects. Defaults to 'data/data-raw/data-rda' |
dir_retrieve |
Directory location for retrieving the original, raw data. Defaults to 'data/data-raw' |
filenames |
Filenames of the data to import. Defaults to the values in 'data_sources$abbrev' |
abbrevs |
Abbreviations for which to search for files in dir_retrieve. Also used to save files in dir_retrieve. |
save_rda |
Logical. TRUE=save the imported data as .rda for quick retrieval. Saves to location 'dir_rda'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.