Postal Codes Dataset for Portugal, PT

347
0
Updated:
Files:1
Size:8.2 kB
Formats:csv

Postal Codes Dataset for Portugal, PT 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
20% off
$99.90$79.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-pt/
https://datahub.io/logistics/postal-codes-pt/_r/-/.licensing-notes.md
https://datahub.io/logistics/postal-codes-pt/_r/-/README.md
https://datahub.io/logistics/postal-codes-pt/_r/-/datapackage.yml
Key Files

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

datapackage.ymlmetadata & schema
https://datahub.io/logistics/postal-codes-pt/_r/-/datapackage.yml
README.mddocumentation
https://datahub.io/logistics/postal-codes-pt/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.yml to inspect schema and resources
  2. 2. Download data resources listed in datapackage.yml
  3. 3. Read README.md for full context

Data Files

Postal Codes Data Resource for Portugal, PT

About

Last updated
7 November 2024
Total rows
...
Format
CSV
File size
8.2 kB

About this dataset

Portugal (PT) — internal licensing notes

Not mentioned in datahub-next#941 — no known licensing flag on this country. Sources: GeoNames PT postal export (CC BY 4.0) + CAOP (Carta Administrativa Oficial de Portugal — official Portuguese admin boundary register, DICOFRE crosswalk + freguesia geometry).

Session finding, 2026-08-19

Fixed pt/scripts/ from hardcoded other-repo paths to self-contained. Verified via a genuinely fresh fetch (all caches deleted first): full 7-stage pipeline (fetch -> build -> DICOFRE enrichment -> spatial join -> alt-name recovery -> integrity check -> package) produces exactly 14,538 rows, sorted-diff MD5-identical to live R2 (the only pre-sort difference was non-deterministic tie-break ordering, not a data discrepancy). Rebuilt this way specifically because the live R2 copy was produced by the same buggy generic GeoNames-to-R2 script noted for Germany (463/500 sampled PT rows showed .0-suffixed float-coerced admin codes).

No licensing review beyond confirming the two sources' licences — this was a code-reproducibility audit, not a licence audit.