Skip to content

A short guide on how to access Denmark's Statistics API with python, together with a helper class that facilitates the collection of data and metadata from any DST's table

License

Notifications You must be signed in to change notification settings

alemartinello/dstapi

Repository files navigation

Using DST's API with Python

The scope of this repository is to provide a guide for using Denmark Statistics' API using python.

You can find the full guide in this notebook.

The guide also presents a helper class I wrote to more easily access DST's data, DstApi. The class is defined in the python file dstapi/dstapi.py.

This class is useful to visualize a table's metadata, as in the example below, and to import data from DST directly into pandas.

I hope you'll find this guide useful!

How to use the DstApi class to visualize a table's metadata

Installation

Run pip install git+https://github.com/alemartinello/dstapi

Developer installation

  1. Clone this repository
  2. Locate folder in terminal
  3. Run pip install -e . in your local environment

About

A short guide on how to access Denmark's Statistics API with python, together with a helper class that facilitates the collection of data and metadata from any DST's table

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published