Skip to content

feat(postcodes/NO): bulk-import 5,122 codes via Bring (#1039)#1441

Merged
dr5hn merged 1 commit into
masterfrom
feat/postcodes-norway-bulk
Apr 27, 2026
Merged

feat(postcodes/NO): bulk-import 5,122 codes via Bring (#1039)#1441
dr5hn merged 1 commit into
masterfrom
feat/postcodes-norway-bulk

Conversation

@dr5hn
Copy link
Copy Markdown
Owner

@dr5hn dr5hn commented Apr 27, 2026

Adds Norwegian postcodes via Bring's free Postnummerregister.

5,122 codes, 100% state_id resolution. County resolution via the well-documented Norwegian convention that kommune codes encode their county in the first 2 digits (SSB standard).

License: Bring / Posten Norge (publicly downloadable, treated as open data per Norwegian government policy).

Refs: #1039

Adds Norwegian postcodes via Bring (Posten Norge) Postnummerregister.

1. bin/scripts/sync/import_norway_postcodes.py — pipeline reading the
   ISO-8859-1 / tab-separated TSV. Resolves county/state via first 2
   digits of kommunenr (Norwegian SSB convention: kommune codes encode
   their county in the first 2 digits).

2. contributions/postcodes/NO.json — 5,122 codes covering all 15
   Norwegian counties + Svalbard with 100% state_id resolution.

License & attribution
- Source: Bring / Posten Norge (publicly downloadable)
- Each row: source: "bring"

Refs: #1039

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 27, 2026 11:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 27, 2026
@dosubot dosubot Bot added the enhancement New feature or request label Apr 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

CSC Validation Report

PR Format

  • ✅ Description provided
  • ✅ Data source linked
  • ✅ Issue linked (recommended for data changes)
  • ✅ Justification / context provided

Labels applied: data:postcodes, large-contribution

⚠️ Large Contribution

This PR contains 5122 records. Large contributions require manual review.

Schema Validation (5122 records)

✅ All records passed validation

Cross-Reference Validation

✅ 10244 reference(s) verified


All checks passed | Status: Ready for review

@dr5hn dr5hn merged commit c51cfd8 into master Apr 27, 2026
1 check passed
@dr5hn dr5hn deleted the feat/postcodes-norway-bulk branch April 27, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:postcodes enhancement New feature or request large-contribution ready-for-review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants