Postal Codes Dataset for Latvia, LV

194
Updated:
Files:1
Size:509 kB
Rows:6,101
Formats:csv
License:CC-BY-4.0

Postal Codes Dataset for Latvia, LV 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.

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-lv/
https://datahub.io/logistics/postal-codes-lv/_r/-/ATTRIBUTION.txt
https://datahub.io/logistics/postal-codes-lv/_r/-/README.md
https://datahub.io/logistics/postal-codes-lv/_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-lv/_r/-/datapackage.yaml
README.md— documentation
https://datahub.io/logistics/postal-codes-lv/_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-lv-sample

About

Last updated
9 October 2026
Total rows
100
Format
CSV
File size
8.53 kB
Source
GeoNames

About this dataset

Postal Codes Dataset for Latvia (LV)

This dataset lists the postal codes of Latvia with place names, WGS84 coordinates, administrative divisions and alternative city names.

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

Data Sources

  • Postal codes, place names, administrative divisions and coordinates: © GeoNames, postal code export for Latvia, CC BY 4.0.
  • Alternative city names: the GeoNames gazetteer for Latvia, same licence.

Changes made to the source data: place names and administrative division names cleaned (a parenthesised part is dropped, punctuation becomes a space and repeated spaces collapse), and an alternative city name added from the gazetteer where one matches the place name.

Not endorsed by, or affiliated with, GeoNames.

Known limitations

  • admin_name2/admin_code2 are blank for some postal codes: the source does not assign this administrative level to every postal code.
  • admin_name3/admin_code3 are empty: the source does not provide this administrative level for Latvia.
  • admin_code2 contains numeric codes stored with a .0 suffix (for example 320244.0); strip it before matching against other code lists.
  • admin_name1 and admin_name2 often carry a trailing space; trim before matching.

Usage

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

postal_code contains letters and spaces and must be read as text (dtype=str), or use the schema in datapackage.yaml.

For other inquiries, contact datahub@datopian.com