View source: R/cbs4_get_metadata.R
| cbs4_get_metadata | R Documentation |
Retrieve the metadata of a publication. The meta object contains all metadata properties of cbsodata in the form of data.frames.
cbs4_get_metadata(
id,
catalog = "CBS",
...,
base_url = getOption("cbsodata4.base_url", BASEURL4),
verbose = getOption("cbsodata4.verbose", FALSE)
)
id |
Identifier of publication or data retrieved with |
catalog |
Catalog, from the set of |
... |
not used |
base_url |
alternative url that implements same interface as statistics netherlands. |
verbose |
Should the function report on retrieving the data |
Each data.frame describes properties of the CBS / Statistics
Netherlands
table: “Dimensions”, “MeasureCodes” and one ore more
“\<Dimension\>Codes” describing the meta data of the borders of a CBS
table.
if (interactive()){
meta <- cbs4_get_metadata("80416ned")
print(names(meta))
# Dimension columns in the dataset
meta$Dimensions
# the metadata of the Measures/Topics
meta$MeasureCodes
# the metadata of the Perioden Categories
meta$PeriodenCodes
# all descriptive and publication meta data on this dataset
meta$Properties
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.