identifier for a country subdivision per ISO 3166-2
ID iso3166code
DatatypeNot PIIcategorical
identifier for a country subdivision per ISO 3166-2 (include country code)
- Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- FTA
STATE_PROVINCE.PREFECTURE_ISO_JA- Wikidata
- P300
- Quality
- 90/100 · missing: negative example, translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- FTA (Fast Text Analysis), IBM Knowledge Catalog (IBM watsonx.data intelligence), Alteryx Woodwork
Regular expression
^[A-Z]{2}-[A-Z0-9]{1,3}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| BE-VWV | West Flanders |
| US-AL | Alabama |
| AT-4 | Upper Austria |
Patterns
Specific representations of this datatype.
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| be_subdivision_code | Belgian region and province code (ISO 3166-2:BE) pattern draft | geo | BE | Code of a Belgian region or province from ISO 3166-2:BE, BE- and three letters, alone or with the country code. The three regions are... |
| cz_region_code | Czech region code (ISO 3166-2:CZ) pattern draft | geo | CZ | Code of one of the 14 Czech regions (kraje) from ISO 3166-2:CZ, two digits after CZ-, such as CZ-10 (Prague), CZ-64 (Jihomoravský kraj)... |
| nl_province_code | Dutch province code (ISO 3166-2:NL) pattern draft | geo | NL | Code of one of the 12 Dutch provinces from ISO 3166-2:NL, two letters after NL-, such as NL-NH (Noord-Holland), NL-FR (Fryslân) or NL-ZH... |
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/iso3166code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/iso3166code.yamlon GitHub