Datatypes

HASC code (Hierarchical administrative subdivision code)

ID hasc

DatatypeNot 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 in the Statoids system: the ISO 3166-1 alpha-2 country code followed by two-letter codes of the first and second level divisions, separated by dots.

Categories
Geographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Wikidata
P8119
Quality
80/100 · missing: negative example, 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-Z]{2}){0,2}$

Python re syntax.

Examples

ValueDescription
US.CA.LOLos Angeles County
FR.NCHauts-de-France
FR.NC.NONord

Sources

Use this record