cbs_download_meta {cbsodataR}R Documentation

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)
)

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.

Value

meta data object

See Also

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

Other download: cbs_download_data(), cbs_download_table()


[Package cbsodataR version 1.0.1 Index]