Last active
June 4, 2020 20:44
-
-
Save lverweijen/bc490deda31856a56247af3cd48d594f to your computer and use it in GitHub Desktop.
Query on statline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opendata_service <- ODataQuery$new("http://beta-odata4.cbs.nl/") | |
entity_datasets <- opendata_service$path("Datasets")$select("Identifier", "Title") | |
datasets <- entity_datasets$all(simplifyVector = TRUE) | |
head(datasets) | |
entity_81589NED <- opendata_service$path("CBS")$path("81589NED")$path("Observations") | |
dataset_81589NED <- entity_81589NED$all(simplifyVector = TRUE) | |
head(dataset_81589NED) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same result, little rephrasing: