pyscbwrapper

Wrapper for Statistics Sweden's API


Keywords
scb, json, wrapper, data, statistics
License
MIT
Install
pip install pyscbwrapper==0.1.1

Documentation

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:

help(SCB)

Mentioned in Awesome Official Statistics