Skip to main content

A Python API wrapper to Statistics Denmark's DataBank API

Project description

denstatbank

denstatbank

A wrapper to Statistics Denmark's DataBank API. The library allows you to easily retrieve data on a variety of topics made available by Statistics Denmark

The package provides a simple interface for professional statisticians, academics, policymakers, students, and anyone interested in quantitative facts about Denmark.

Installation

pip install denstatbank

Usage

Quick Example

>>> from denstatbank import StatBankClient
>>> sbc = StatBankClient(lang='en')
>>> df = sbc.get_data(table_id='bef5')
>>> df
   Population 1. January by Indhold and time
0                                    5822763

DataBank API

The official API documentation can be found here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

denstatbank-0.1.5.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

denstatbank-0.1.5-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page