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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page