Learn R Programming

cbsodataR (version 1.1)

cbs_download_meta: Dumps the meta data into a directory

Description

Dumps the meta data into a directory

Usage

cbs_download_meta(
  id,
  dir = id,
  catalog = "CBS",
  ...,
  verbose = FALSE,
  cache = FALSE,
  base_url = getOption("cbsodataR.base_url", BASE_URL)
)

Value

meta data object

Arguments

id

Id of CBS open data table (see cbs_get_toc())

dir

Directory in which data should be stored. By default it creates a sub directory with the name of the id

catalog

catalog id, can be retrieved with cbs_get_datasets()

...

not used

verbose

Print extra messages what is happening.

cache

Should meta data be cached?

base_url

optionally allow to specify a different server. Useful for third party data services implementing the same protocol.

See Also

Other meta data: cbs_add_date_column(), cbs_add_label_columns(), cbs_add_unit_column(), cbs_get_meta()

Other download: cbs_download_data(), cbs_download_table()