| add_codelist {statnipokladna} | R Documentation |
Deprecated: Add codelist data to downloaded data
Description
Deprecated, use sp_add_codelist() instead.
Usage
add_codelist(
data,
codelist = NULL,
period_column = .data$vykaz_date,
redownload = FALSE,
dest_dir = NULL
)
Arguments
data |
a data frame returned by |
codelist |
The codelist to add. Either a character vector of length one (see |
period_column |
Unquoted column name of column identifying the data period in |
redownload |
Redownload even if file has already been downloaded? Defaults to FALSE. |
dest_dir |
character. Directory in which downloaded files will be stored.
If left unset, will use the |
Details
Value
A tibble of same length as data, with added columns from codelist. See Details.
See Also
Other Core workflow:
get_codelist(),
sp_add_codelist(),
sp_get_codelist(),
sp_get_dataset(),
sp_get_table()