Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tazjin/ssb-to-iso
Mapping of Norwegian SSB's "Standard for land og statsborgerskap" to ISO country codes
https://github.com/tazjin/ssb-to-iso
iso-country-codes norway ssb
Last synced: 7 days ago
JSON representation
Mapping of Norwegian SSB's "Standard for land og statsborgerskap" to ISO country codes
- Host: GitHub
- URL: https://github.com/tazjin/ssb-to-iso
- Owner: tazjin
- License: unlicense
- Created: 2019-02-28T15:06:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T15:08:18.000Z (almost 6 years ago)
- Last Synced: 2024-12-24T02:46:08.590Z (10 days ago)
- Topics: iso-country-codes, norway, ssb
- Language: JSONiq
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Norwegian SSB to ISO country codes
==================================The Norwegian Central Bureau of Statistics (and other parts of the
Norwegian government) uses a [custom standard][] (Standard for land og
statsborgerskap i personstatistikk) for denoting citizenships with
three-digit numeric codes.We had a use-case where this data needed to be mapped to ISO country
codes. The mapping (and the method for establishing it) are in this
repository in the file `ssb-to-iso.json`.## Notes
The mapping was established by matching the names of countries in a
list of ISO codes and the Norwegian government's country list. Some
names had to be edited manually, and some countries are not mapped:* The Dutch territories "Curaçao", "Sint Maarten" and "Bonaire, Sint
Eustatius og Saba" are all mapped to the `NL` country code.
* As SSB data deals with citizenships primarly, and not countries,
there are no mappings for stateless people.See `combine.jq` for the mapping logic used.
This repository is released into the **Public Domain**. You can use it
with no restrictions whatsoever.[custom standard]: https://www.ssb.no/klass/klassifikasjoner/91