tempo_bulk | R Documentation |
tempo_bulk TEMPO Online database bulk download method. The function checks the directory supplied as parameter or the working directory if has named files as TEMPO Online matrices. If those files are more recent than the last date upon which the TEMPO matrices have been updated, the function skips them at download.
tempo_bulk(codes = list(), language = NULL, directory = NULL)
codes |
- a list containing one or more strings containing the code for
the table/matrix in TEMPO Online database. See more on
how to obtain a matrix code from |
language |
- a string to set the language for the downloaded tables. Options: "ro" - for Romanian and "en" - for English. If no parameter is given, implicitly downloads tables in Romanian |
directory |
- a valid path where the files will be downloaded. The implicit value is NULL, i.e. current working directory. |
## Not run:
# Download a single table and write on disk
tempo_bulk("SOM101D", "ro")
# Downloads the whole TEMPO db and write each table on disk.
# Can take a long time.
# tempo_bulk(TOC_TEMPO$code, "ro")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.