Skip to content

HenricoWitvliet/CBSOData4.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBSOData4

Build Status

This is a simple Tables-interface to use the CBS odata4 beta portal to download CBS-datasets.

How to use it

If you know the exact dataset, you can directly use it:

using DataFrames, CBSOData4

df = DataFrame(CBSOData4.ODataTable_long("80072ned"))

You can use the keyword argument columns to give a list of column names to select (case sensitive). And you can use filter to give a filter expression for the rows (as a String) using the Odata4 rules.

For a given table you can get information about the columns in the dataset and about the used classifications by using get_meta:

df_meta = CBSOData4.get_meta("80072ned")

This gives a dict with Properties and the classifications.

Using get_tables you can get a list of dicts of all available tables. The Identifier can then be used to get the actual data.

About

odata4 interface to the CBS beta api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages