Datatypes › Peru › Geographic identifiers

Peruvian UBIGEO code

ID pe_ubigeo

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).

Geographic location code of the Peruvian statistics institute (INEI): six digits, two each for the department (01 to 25), the province and the district, such as 150101 for the district of Lima. Two- and four-digit forms name a department or a province. Files that store it as a number lose the leading zero.

Categories
Geographic identifiers, Government related
Countries
Peru
Languages
Spanish
Quality
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
1 rule (1 by field name, 0 by value)
Supported by tools
metacrafter

Regular expression

^(?:0[1-9]|1\d|2[0-5])(?:\d{2}){0,2}$

Python re syntax.

Test a value

Examples

ValueDescription
150101 District of Lima
010101 District of Chachapoyas, Amazonas
0801 Province of Cusco
260101 invalid There are 25 department codes
15010 invalid Five digits

Translations

LanguageNameDescription
RussianКод UBIGEO (Перу)

Sources

Use this record