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
| Value | Description |
|---|---|
| US.CA.LO | Los Angeles County |
| FR.NC | Hauts-de-France |
| FR.NC.NO | Nord |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Hierarchical_administrative_subdivision_codes
- doc: https://www.statoids.com/ihasc.html
- wikidata: https://www.wikidata.org/wiki/Property:P8119
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/hasc - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/hasc.yamlon GitHub