cbs_topics | R Documentation |
Download data from CBS Open data Statline.
cbs_topics()
cbs_search(topic, max_print = 25)
cbs_download(identifier, clean_cols = TRUE)
cbs_moreinfo(identifier)
topic |
topics to search for |
max_print |
maximum number of subjects to print |
identifier |
tracking number (1 to |
clean_cols |
Clean column names. |
cbs_topics()
retrieves all topics.
cbs_search()
searches for a specific subject.
cbs_download()
downloads tables. Input has to be a CBS Identifier (printed in red in cbs_search()
), or a tracking number of cbs_search()
, or the result of cbs_search()
.
cbs_moreinfo()
gives a detailed explanation for the table. Input can also be a dataset downloaded with cbs_download()
.
## Not run:
cbs_search("Inwoners")
x <- cbs_download(2) # 2nd hit of cbs_search()
str(x)
cbs_moreinfo(x)
cbs_moreinfo(2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.