294479
294479
omssb
2017-02-09T13:50:00.000Z
en

Statbank API

API Code Examples

Code examples for Statistics Norway's API.

R, Highcharts, Excel, JSON-Stat etc.

Highcharts

Three examples using the library JSON-Stat javacript Toolkit together with Highcharts. 

 

Python

Http POST in Python using the JSON-Stat library pyjstat

 

R

Statistics Norway has made the package  PxWebApiData: Function to read PX-Web(Statbank) data into R via API

R examples, using libraries rjstat for JSON-Stat og httr

 

 Excel / Power BI

Check out the service:  Q4OpenData - Query for OpenData, which generate script-code.

Select: Statistics Norway from the menu, or see  short video

 ---

 The JSON-stat Explorer is a useful tool for understanding JSON-stat.

Contact