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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for ssb_klass_python-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a669b72e35684175ae23ab06d1fae9cb7f2366a4fd51714a661199103d9039 |
|
MD5 | f4f9aaf59393fee8d39c980638b5e36e |
|
BLAKE2b-256 | 74c6236dda040609afc8477dfb318aab710c942eff3a73b04eb67347e8aded7c |