OCHA place code (p-code)
ID hdx_pcode
DatatypeNot PIIidentifierDraft
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).
Place code of an administrative area in the Common Operational Datasets of OCHA, published on HDX: the ISO 3166-1 alpha-2 code of the country and digits for each level below it, as in GE11. Level 0 uses the alpha-2 or alpha-3 code alone.
- Parent datatype
- Unique identifier
id - Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 70/100 · missing: source link, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- 1 rule (0 by field name, 1 by value)
hdxpcodevaluedata, common/geo.yaml
- Supported by tools
- metacrafter
Regular expression
^[A-Z]{2}\d{1,12}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| GE11 | Region of Georgia |
| GE44 | Region of Georgia |
| GE-11 invalid | With a hyphen |
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/hdx_pcode - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/hdx_pcode.yamlon GitHub