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.2.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

denstatbank-0.2.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file denstatbank-0.2.1.tar.gz.

File metadata

  • Download URL: denstatbank-0.2.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for denstatbank-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a418f53441b22b849de07bda29484c06ea4494cf24d3a4aa8d99c25b7c601376
MD5 292f51fb65aabb0f7d3166a4f7a206ec
BLAKE2b-256 61a42ffcfaed09b7f98e4f9001b60a09f2ca9a35fc1eb147c89ac0a12f2226dc

See more details on using hashes here.

File details

Details for the file denstatbank-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: denstatbank-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for denstatbank-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 511f9b91a2826f45539354f70450bc861356363c3905e6a588f368ef1f8e5c65
MD5 60f405461f041f6eb3b8e9415752526e
BLAKE2b-256 7248cd6cd0515140ef4efb513895eda4aab59576806496f20b4101cf240f704d

See more details on using hashes here.

Supported by

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