Datatypes

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

ValueDescription
31 01 10Yangpu District
11Beijing

Sources

Use this record