Datatypes

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

ValueDescription
BE-VWVWest Flanders
US-ALAlabama
AT-4Upper Austria

Patterns

Specific representations of this datatype.

IDNameCategoriesCountriesDescription
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