Download data from CBS Open data Statline.
cbs_topics()
cbs_search(topic, max_print = 25)
cbs_download(identifier, clean_cols = TRUE)
cbs_moreinfo(identifier)
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()
.
if (FALSE) { # \dontrun{
cbs_search("Inwoners")
x <- cbs_download(2) # 2nd hit of cbs_search()
str(x)
cbs_moreinfo(x)
cbs_moreinfo(2)
} # }