Datatypes › Geographic identifiers

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
1 rule (1 by field name, 0 by value)
Supported by tools
FTA (Fast Text Analysis), IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, Alteryx Woodwork

Regular expression

^[A-Z]{2}-[A-Z0-9]{1,3}$

Python re syntax.

Test a value

Examples

ValueDescription
BE-VWV West Flanders
US-AL Alabama
AT-4 Upper Austria

Patterns

Specific representations of this datatype.

IDNameCategoriesCountriesDescription
be_subdivision_code Belgian region and province code (ISO 3166-2:BE) pattern 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 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)...
iso3166code_compact ISO 3166-2 subdivision code without a separator pattern geo global Code of a country subdivision from ISO 3166-2 written without the hyphen between the two-letter country code and the subdivision part,...
iso3166code_dotted ISO 3166-2 subdivision code with a dot separator pattern geo global Code of a country subdivision from ISO 3166-2 written with a dot instead of the hyphen between the two-letter country code and the...
iso3166code_part ISO 3166-2 subdivision code without the country code pattern geo global Subdivision part of an ISO 3166-2 code stored without the country code and the hyphen, one to three letters or digits such as VIC for...
it_subdivision_code Italian region and province code (ISO 3166-2:IT) pattern geo IT Code of an Italian region, province or metropolitan city from ISO 3166-2:IT, alone or with the country code. The 20 regions have two...
nl_province_code Dutch province code (ISO 3166-2:NL) pattern 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