Skip to contents

Update the time-series catalogs provided by BdE.

Usage

bde_catalog_update(
  catalog = c("ALL", "BE", "SI", "TC", "TI", "PB"),
  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
"BE"Statistical BulletinDailyMonthly
"SI"Summary IndicatorsDailyDaily
"TC"Exchange RatesDailyDaily
"TI"Interest RatesDailyDaily
"PB"Bank 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\RtmpgTpRn1
#> tidyBdE> Updating catalogs: TI
#> tidyBdE> Downloading file from https://www.bde.es/webbe/es/estadisticas/compartido/datos/csv/catalogo_ti.csv
#> 
# }