Skip to contents

Update BdE time series catalog files.

Usage

bde_catalog_update(
  catalog = c("ALL", "BE", "SI", "TC", "TI", "PB"),
  cache_dir = NULL,
  verbose = FALSE
)

Arguments

catalog

A single catalog identifier to update, or "ALL" to update every catalog. See Details.

cache_dir

Path to a cache directory. The directory can also be set with options(bde_cache_dir = "path/to/dir").

verbose

Logical. If TRUE, display information useful for debugging.

Value

An invisible list of download results.

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 catalogs at once.

See also

Examples

# \donttest{
bde_catalog_update("TI", verbose = TRUE)
#>  Using temporary cache directory /tmp/RtmpZwkfOF.
#>  Updating catalogs: TI.
#>  Downloading file from <https://www.bde.es/webbe/es/estadisticas/compartido/datos/csv/catalogo_ti.csv>.
# }