ISO 3166-2 subdivision code without a separator
ID iso3166code_compact
Pattern of iso3166codeNot PIIcategoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Code of a country subdivision from ISO 3166-2 written without the hyphen between the two-letter country code and the subdivision part, as in UYAR for Artigas, Uruguay (UY-AR). Uruguayan open data writes department codes this way. Any short upper-case code has the same shape, so the form alone does not identify the type; the column name and the country do.
- Pattern of
- identifier for a country subdivision per ISO 3166-2
iso3166code - Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 75/100 · missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^[A-Z]{2}[A-Z0-9]{1,3}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| UYAR | Artigas, Uruguay (ISO 3166-2 UY-AR) |
| UYMO | Montevideo, Uruguay (ISO 3166-2 UY-MO) |
| UY-AR invalid | The hyphenated form, covered by iso3166code |
Sources
- wikipedia: https://en.wikipedia.org/wiki/ISO_3166-2:UY
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/iso3166code_compact - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/iso3166code_compact.yamlon GitHub