Skip to contents

Update the time-series catalogs provided by BdE.

Usage

bde_catalog_update(catalog = "ALL", cache_dir = NULL, verbose = FALSE)

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 or FALSE, display information useful for debugging.

Value

None Downloads the catalog file(s) to the local machine.

Details

Accepted values for catalog are:

CODEPUBLICATIONUPDATE FREQUENCYFREQUENCY
BEStatistical BulletinDailyMonthly
SISummary IndicatorsDailyDaily
TCExchange RatesDailyDaily
TIInterest RatesDailyDaily
PBBank Lending SurveyQuarterlyQuarterly

Use "ALL" as a shorthand for updating all the catalogs at a glance.

See also

Examples

# \donttest{
bde_catalog_update("TI", verbose = TRUE)
#> tidyBdE> Caching on temporary directory C:\Users\RUNNER~1\AppData\Local\Temp\RtmpWcWEcH
#> tidyBdE> Updating catalogs: TI
#> tidyBdE> Downloading file from https://www.bde.es/webbde/es/estadis/infoest/series/catalogo_ti.csv
#> 
#> [1] TRUE
# }