Skip to main content

A Python package built on top of KLASS's API for retrieving classifications, codes, correspondances etc.

Project description

ssb-klass-python

A Python package built on top of KLASS's API for retrieving classifications, codes, correspondances etc.

Example usage

from klass import KlassClassification as KC # Import the class for KlassClassifications
nus = KC(36)  # Use ID for classification
codes = nus.get_codes() # codes from current date
print(codes)
codes.data  # Pandas dataframe available
from klass import get_classification # Import the utility-function
nus = get_classification(36)

Technical notes

Documentation for the endpoints we are using can be found on Statistics Norways pages.

Technical architecture of the API we are interacting with is detailed in Statistics Norway's internal wiki.


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

ssb_klass_python-0.0.2.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

ssb_klass_python-0.0.2-py3-none-any.whl (15.1 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