aboutsummaryrefslogtreecommitdiffstats
path: root/administrative-codes/counties.csv
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-20 17:32:34 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-21 15:06:58 +0200
commitd1f52a5e7ac2dd62c6348f17b02ccf324456c9da (patch)
tree7b96836ed3ac4071d4edbbdd1cf0835868fdfc78 /administrative-codes/counties.csv
parente930cd95f3392b44152ae05b4189c65e833adaa3 (diff)
Add script to download administrative codes from SCB.
Unfortunately SCB doesn't provide CSV files, so we download their xls file and produce our own CSV files. We also add a conversion tool to turn these CSV files into a (single, compact) JSON file to be served via HTTP.
Diffstat (limited to 'administrative-codes/counties.csv')
-rw-r--r--administrative-codes/counties.csv22
1 files changed, 22 insertions, 0 deletions
diff --git a/administrative-codes/counties.csv b/administrative-codes/counties.csv
new file mode 100644
index 0000000..ee34965
--- /dev/null
+++ b/administrative-codes/counties.csv
@@ -0,0 +1,22 @@
+Code Name
+01 Stockholms län
+03 Uppsala län
+04 Södermanlands län
+05 Östergötlands län
+06 Jönköpings län
+07 Kronobergs län
+08 Kalmar län
+09 Gotlands län
+10 Blekinge län
+12 Skåne län
+13 Hallands län
+14 Västra Götalands län
+17 Värmlands län
+18 Örebro län
+19 Västmanlands län
+20 Dalarnas län
+21 Gävleborgs län
+22 Västernorrlands län
+23 Jämtlands län
+24 Västerbottens län
+25 Norrbottens län