View source: R/cbs_get_datasets.R
cbs_get_datasets | R Documentation |
cbs_get_datasets
by default a list of all tables and all columns will be retrieved.
You can restrict the query by supplying multiple filter statements or by specifying the
columns that should be returned.
cbs_get_datasets(
catalog = "CBS",
convert_dates = TRUE,
select = NULL,
verbose = FALSE,
cache = TRUE,
base_url = getOption("cbsodataR.base_url", BASE_URL),
...
)
catalog |
which set of tables should be returned? |
convert_dates |
convert the columns with date-time information into DateTime (default |
select |
|
verbose |
|
cache |
|
base_url |
optionally specify a different server. Useful for third party data services implementing the same protocol. |
... |
filter statement to select rows, e.g. Language="nl" |
Note that setting catalog
to NULL
results in a datasets list with all tables including
the extra catalogs.
if (interactive()){
# retrieve the datasets in the "CBS" catalog
ds <- cbs_get_datasets()
ds[1:5, c("Identifier", "ShortTitle")]
# retrieve de datasets in the "AZW" catalog
ds_azw <- cbs_get_datasets(catalog = "AZW")
# to retrieve all datasets of all catalogs, supply "NULL"
ds_all <- cbs_get_datasets(catalog = NULL)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.