Postal Codes Dataset for Thailand, TH

444
Updated:
Files:1
Size:59.7 kB
Rows:903
Formats:csv
License:CC-BY-4.0

Postal Codes Dataset for Thailand, TH 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-th/
https://datahub.io/logistics/postal-codes-th/_r/-/.licensing-notes.md
https://datahub.io/logistics/postal-codes-th/_r/-/.migration-notes.md
https://datahub.io/logistics/postal-codes-th/_r/-/ATTRIBUTION.txt
https://datahub.io/logistics/postal-codes-th/_r/-/README.md
https://datahub.io/logistics/postal-codes-th/_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-th/_r/-/datapackage.yaml
README.md— documentation
https://datahub.io/logistics/postal-codes-th/_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-th-sample


About this dataset

Postal Codes Dataset for Thailand (TH)

This dataset lists Thai postal codes at province-level granularity, with province names and WGS84 coordinates. There is no district or sub-district tier.

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

Data Sources

Changes made to the source data: alternative_city_name derived from the gazetteer (the first non-numeric alternate name of the gazetteer entry matching the place name); cells copied as text, with no literal "nan" values and no float-formatted accuracy.

Not endorsed by, or affiliated with, GeoNames.

Known limitations

  • Not every Thai province is covered: GeoNames' postal export omits a few provinces, and covers the rest at province level only.
  • District (อำเภอ) and sub-district (ตำบล) tiers are not carried: GeoNames does not provide them for Thailand, so admin_name2, admin_code2, admin_name3 and admin_code3 are empty (apart from one admin_name2 value). A community-repository upgrade with those tiers was evaluated and not shipped: several of its own merged contributions cite Wikipedia (CC BY-SA) as their source, which this project's provenance rules treat as an unresolved licensing risk rather than the clean MIT the repository claims for itself.
  • Coordinates are one GeoNames-estimated point per (postal_code, place_name) row. accuracy follows GeoNames' own scale (1 = estimated, 4 = matched to a gazetteer place, 6 = centroid of addresses/shape) and is blank where GeoNames does not report a value; blank means GeoNames did not classify that row, not zero accuracy.
  • alternative_city_name is re-derived from the current gazetteer on each build, so values can differ from earlier releases.

Usage

The dataset files are available in CSV format and can be accessed and downloaded using the links provided in datapackage.yaml. Read admin_code1 as text, never as a number: GeoNames' two-digit province codes can start with zero.

For other inquiries, contact datahub@datopian.com