Description Usage Arguments Value Examples
This function takes a zipfile from Jigsaw, identifies all files in the zipfile, and unzips them all into a temp file. Then it cleans the data by fixing dates to be an R date class (using the data.table IDate class for speed). Finally, it gives the option of loading all of the files into the global environment, or saving them all as RDS files to a user-specified directory. This function provides status updates at each step using the R message function. File reading is done using the data.table fread() function which is set to "verbose" output to help the user identify problems.
1 |
zipfile |
The path to the ZIP file to load as a character string. |
load_files |
Should the files be loaded to the global environment? Defaults to TRUE. |
save_dir |
The path to the directory where the file should be saved. Defaults to working directory. |
ver |
The version of the export being used. 1L is original. 2L is updated. |
Returns a list of the filenames for later loading.
1 | ## Not run: # nothing here yet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.