Provincia (province) -- 24/24 covered; postal codes 900001-900004 carry no province, see ATTRIBUTION.txt
Administrative Name 1
admin_code1
string
ISO 3166-2:EC code
Administrative Code 1
admin_name2
string
Cantón (canton) -- 220 distinct values; empty only on the rows with no province
Administrative Name 2
admin_code2
string
GeoNames' own internal canton code, not an independently verified official code
Administrative Code 2
admin_name3
string
Not available -- source does not carry parroquia (parish) level
Administrative Name 3
admin_code3
string
Not available
Administrative Code 3
latitude
number
GeoNames-estimated latitude (WGS84)
Latitude
longitude
number
GeoNames-estimated longitude (WGS84)
Longitude
accuracy
string
GeoNames accuracy of latitude/longitude. GeoNames documents 1=estimated, 4=geonameid, 6=centroid of addresses or shape; other values (e.g. 3) occur upstream without documentation. Empty where GeoNames gives none.
Checked 2026-08-29. Starting from zero — no prior work anywhere for this
country code.
Postal system
Ecuador uses a 6-digit numeric postal code system ("CORREOSCODIGO"),
administered through the Ministerio de Telecomunicaciones y de la Sociedad
de la Informacion (MINTEL) via its postal regulator ARCOTEL/ARCPostal.
No per-country caveat for Ecuador in GeoNames' export/zip/readme.txt —
general CC BY 4.0 applies without restriction.
Verified directly against the raw file: 1,225 rows, all 1,225 distinct
6-digit codes, matching the real CORREOSCODIGO format (e.g. 200101).
admin_name1 (Provincia, e.g. "Galapagos") and admin_name2 (Canton, e.g.
"Canton San Cristobal") are both populated on 1,221/1,225 rows (99.7%) —
no gazetteer join needed, only 4 rows have a gap. No admin_name3
(parroquia) in the postal export itself.
Official source — a real candidate exists, but could not be verified this pass
Ecuador is the strongest official-source lead of this batch of three: a
government (.gob.ec) system exists specifically for this —
codigopostal.gob.ec (MINTEL's "Codigo Postal Ecuador" portal) and its
postal regulator ARCPostal reportedly publish a downloadable Excel file
with the full national postal-code list, referenced from
regulacion.mintel.gob.ec/descargue-productos-del-sistema-codigo-postal-ecuatoriano/.
Both government URLs returned connect ECONNREFUSED on direct fetch
today (2026-08-29) — same failure class already logged elsewhere in this
catalogue for other government sites (Oman Post 404, PostNord Denmark 403).
Could not verify the actual download link, file format, or licence terms
this pass. This is a real, promising lead for a future pass — not ruled
out, just unreachable today — rather than something to build against
blind.
Decision
{"channel":"postal-codes-r2","source_url":"https://download.geonames.org/export/zip/EC.zip","licence_id":"CC-BY-4.0","collected_at":"2026-08-29","decision":"compatible","decided_by":"claude-session-2026-08-29","decided_at":"2026-08-29","note":"MINTEL/ARCPostal's own codigopostal.gob.ec and regulacion.mintel.gob.ec were identified as a likely stronger official source (a named Excel export exists per search results) but were unreachable (ECONNREFUSED) during this research pass -- re-check before assuming GeoNames is the ceiling for this country."}
Proposed tier
B ($49). Single source normalised in place, real derivation work (ISO
3166-2:EC crosswalk for admin_code1), no second source consolidated in this
pass. Would move toward A if the MINTEL official export is later confirmed
reachable and consolidated on top (definitive code list + admin_name3
parroquia tier neither GeoNames row currently carries).
Verdict
Buildable now on GeoNames alone (clean, near-complete 2-tier admin
coverage), with a real official upgrade path still open. Re-attempt the
MINTEL/ARCPostal fetch in a future pass — a working .gob.ec source would
likely add both a name-verified code list and a third admin tier. Not yet
built; this is the research/decision record only.
Build — 2026-08-30 (local only, not published)
Retried MINTEL/ARCPostal (codigopostal.gob.ec,
regulacion.mintel.gob.ec/descargue-productos-del-sistema-codigo-postal-ecuatoriano/)
once before building — both timed out again (connection timeout, not a 404
or explicit block). Proceeded on GeoNames as the research already
concluded; not retried further per this project's tunnel-vision rule.
Built via datasets/ec/scripts/build_postal_codes_product.py, straight
from the raw GeoNames source via csv (no pandas). Derived ISO 3166-2:EC
codes for all 24 provinces via a verified Wikipedia crosswalk — every one
of GeoNames' 24 admin1 codes matched a real ISO province by name, zero
ambiguity.
value
Final rows
1,225
Distinct postal codes
1,225 (all unique — no primary-key collisions)
Provinces covered
24/24
Cantons
220 distinct
Rows with no province (disclosed, not guessed)
4 (900001–900004, disputed "Manga del Cura" territory)
admin_name3/admin_code3 ship empty — source carries no parroquia tier.
alternative_city_name ships empty — single-source build, no gazetteer
enrichment attempted.
Frictionless validation: valid: True.
Status: built and validated locally only. Nothing published to R2,
nothing committed to git. datasets/ec/README.md and datapackage.yml
updated in place (tier B, premium_source_key: ec/ec.zip, real
sources/licenses, replacing the "Multiple sources" placeholder).
API access
Access dataset files directly from scripts, code, or AI agents.
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.