Chinese administrative division code
ID cn_division_code
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).
Code of an administrative division of the People's Republic of China used by the National Bureau of Statistics: six digits for provinces, prefectures and counties (GB/T 2260), up to twelve for townships and villages. Wikidata writes it in groups separated by spaces.
- Categories
- Geographic identifiers
- Countries
- China
- Languages
- Common to most languages
- Wikidata
- P442
- 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
^(?:1[1-5]|2[1-3]|3[1-7]|4[1-6]|5[0-4]|6[1-5]|71|8[1-2])(?: ?(?:0[1-9]|[1-6]\d|70|90)(?: ?(?:0[1-9]|[1-9]\d)(?: ?(?:00[1-9]|0[1-9]\d|[1-5]\d\d)(?: ?(?:00[1-9]|0[1-9]\d|[1-5]\d\d)(?: ?(?:11[1-2]|12[1-3]|2[1-2]0))?)?)?)?)?$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 31 01 10 | Yangpu District |
| 11 | Beijing |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Administrative_division_codes_of_the_People%27s_Republic_of_China
- wikidata: https://www.wikidata.org/wiki/Property:P442
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/cn_division_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/CN/geo/cn_division_code.yamlon GitHub