Skip to content

v0.6.0

Choose a tag to compare

@iamkm1 iamkm1 released this 24 Jul 23:52

Added

  • sdk.klass — Statistics Norway's SSB Klass API. Browse and search classifications, inspect dated versions, list version/date/range code lists, retrieve exact codes, and use the official selectCodes code-pattern syntax.
  • Correspondence tables and mappings. List correspondence-table metadata and page fixed, dated or ranged correspondence. Because Klass does not page these upstream, locally bounded pages are labelled pagination.upstreamPaged: false.
  • Ambiguity-preserving municipality and county resolution. Historical codes are resolved through official change graphs; merges, splits, multiple predecessors/successors, mixed-step ambiguity, missing context and no-match outcomes are all returned explicitly — no branch is silently selected.
  • Strict runtime-validated types and stable classification IDs for municipalities, counties, industry, occupations, education and three country-code systems.

No breaking changes. profiles.municipality() behaviour is unchanged. Published with npm provenance (SLSA); the registry gitHead matches this tag.