Skip to content
Python wrapper for SCB's API
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pyscbwrapper functions that are supposed to return stuff now do Mar 15, 2019
LICENSE changed the license to MIT Mar 12, 2019
README.md updated readme Mar 18, 2019
pyscbwrapper.ipynb Created using Colaboratory Mar 19, 2019
pyscbwrapper_en.ipynb

README.md

pyscbwrapper

Version 0.1.1

Python wrapper for Statistics Sweden's API, which can be found at http://www.scb.se/en/api.

News in version 0.1:
Compatible with changes in the API.
Includes a function for generating JSON queries from user-supplied input.
It is now possible to go up and down in the metadata tree more than one step at a time.

News in version 0.1.1:
Bugfixes: Variables with space in their names can now be accessed by removing the spaces.
New functionality: get_variables() returns a dict instead of only writing to the terminal.

Dependencies: requests>=2.21.0

To import:

from pyscbwrapper import SCB

For info on usage, see the included notebooks.

Mentioned in Awesome Official Statistics

You can’t perform that action at this time.