Update the time-series catalogs provided by BdE.
Arguments
- catalog
A vector of characters indicating the catalogs to be updated or
"ALL"
as a shorthand. See Details.- cache_dir
A path to a cache directory. The directory can also be set via options with
options(bde_cache_dir = "path/to/dir")
.- verbose
Logical
TRUE
orFALSE
, display information useful for debugging.
Details
Accepted values for catalog
are:
CODE | PUBLICATION | UPDATE FREQUENCY | FREQUENCY |
BE | Statistical Bulletin | Daily | Monthly |
SI | Summary Indicators | Daily | Daily |
TC | Exchange Rates | Daily | Daily |
TI | Interest Rates | Daily | Daily |
PB | Bank Lending Survey | Quarterly | Quarterly |
Use "ALL"
as a shorthand for updating all the catalogs at a glance.
See also
Other catalog:
bde_catalog_load()
,
bde_catalog_search()
Examples
# \donttest{
bde_catalog_update("TI", verbose = TRUE)
#> tidyBdE> Caching on temporary directory C:\Users\RUNNER~1\AppData\Local\Temp\RtmpsJVLkw
#> tidyBdE> Updating catalogs: TI
#> tidyBdE> Downloading file from https://www.bde.es/webbde/es/estadis/infoest/series/catalogo_ti.csv
#>
#> [1] TRUE
# }