Postal Codes Dataset for Denmark, DK

605
Updated:
Files:1
Size:89.1 kB
Rows:1,089
Formats:csv
License:CC-BY-4.0

Postal Codes Dataset for Denmark, DK including name of the city, town, or place, various administrative divisions and alternative city names.

Part of a Data Solution

  • Postal Codes Solution

    Every worldwide postal-code dataset in one bundle — the ultimate global reference for precise postal codes.

    Explore →

Premium

You're viewing a free sample

Get the complete dataset — all rows and files — delivered instantly after checkout, with lifetime access to the latest version.

  • Secure checkout via Stripe
  • Instant download after payment
  • Lifetime access to the latest version
  • Creative Commons Attribution 4.0 International license
20% off
$49.90$39.92
one-time payment

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/logistics/postal-codes-dk/
https://datahub.io/logistics/postal-codes-dk/_r/-/.licensing-notes.md
https://datahub.io/logistics/postal-codes-dk/_r/-/.migration-notes.md
https://datahub.io/logistics/postal-codes-dk/_r/-/ATTRIBUTION.txt
https://datahub.io/logistics/postal-codes-dk/_r/-/README.md
https://datahub.io/logistics/postal-codes-dk/_r/-/datapackage.yaml
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.yaml— metadata & schema
https://datahub.io/logistics/postal-codes-dk/_r/-/datapackage.yaml
README.md— documentation
https://datahub.io/logistics/postal-codes-dk/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.yaml to inspect schema and resources
  2. 2. Download data resources listed in datapackage.yaml
  3. 3. Read README.md for full context

Data Files

postal-codes-dk-sample


About this dataset

Postal Codes Dataset for Denmark (DK)

This dataset contains Danish postal codes with their postal district, region and municipality (kommune), and a representative coordinate per postal code. It covers every region and every municipality, including Christiansø.

Column definitions, row count, size and last-updated date are in datapackage.yaml.

Data Sources

  • Postal districts and municipality admin data: © Klimadatastyrelsen (the Danish government data agency, earlier named SDFI), from the national address and geography registers served by DAWA / Dataforsyningen and Datafordeler, CC BY 4.0. Postal codes originate from PostNord/PostDanmark.
  • Regions and municipalities (names and codes): Source: Statistics Denmark, StatBank.dk/folk1a, used under Statistics Denmark's terms (equivalent to CC BY 4.0).
  • Coordinates: the visual center of each postal code's polygon in the same register.

Changes made to the source data: where a postal code spans more than one municipality in the source register, the first-listed municipality is used for admin_name2/admin_code2, except for a few codes that were deliberately re-pointed to a different listed municipality so that every municipality is represented by at least one row (Christiansø, Glostrup, Herlev, Hvidovre, Mariagerfjord, Rødovre and Sorø never appear first in the source ordering for any code).

Not endorsed by, or affiliated with, Klimadatastyrelsen or PostNord.

Known limitations

  • Many postal codes span more than one municipality in the source register; each row carries only one of them.
  • admin_name3, admin_code3 and alternative_city_name are not populated.
  • Coordinates are a per-code visual center point, not a street or address-level location.

Usage

The dataset files are available in CSV format and can be accessed and downloaded using the links provided in datapackage.yaml.

postal_code and admin_code2 must be read as text (dtype=str) – a naive pd.read_csv() can otherwise strip leading zeros.

For other inquiries, contact datahub@datopian.com