sp_get_table()
instead.R/tables.R
get_table.Rd
get_table(
table_id,
year,
month = 12,
ico = NULL,
redownload = FALSE,
dest_dir = NULL
)
A table ID. See id
column in sp_tables
for a list of available tables
year, numeric, 2015-2019 for some datasets, 2010-2020 for others. Can be a vector of length > 1 (see Details for how to work with data across time periods.).
month, numeric. Must be 3, 6, 9 or 12. Can be a vector of length > 1 (see details).
ID(s) of org to return, character of length one or more. If unset, returns all orgs. ID not checked for correctness/existence. See https://monitor.statnipokladna.cz/datovy-katalog/prohlizec-ciselniku/ucjed to look up ID of any org in the dataset.
Redownload even if recent file present? Defaults to FALSE.
character. Directory in which downloaded files will be stored.
If left unset, will use the statnipokladna.dest_dir
option if the option is set, and tempdir()
otherwise. Will be created if it does not exist.
a tibble