tempo_bulk: Download one or multiple tables from TEMPO Online database

Description Usage Arguments Examples

Description

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.

Usage

1
tempo_bulk(codes = NULL, directory = NULL, check_date = FALSE)

Arguments

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 tempo_toc

directory

- a valid path where the files will be downloaded. The implicit value is NULL, i.e. current working directory.

Examples

1
2
3
4
5
6
7
8
9
## 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)

RProjectRomania/TEMPO documentation built on June 4, 2019, 9:47 a.m.