Property talk:P3213

From Wikidata
Jump to navigation Jump to search

Documentation

Indian census area code
code used for an area for census calculations in India
Associated itemOffice of Registrar General & Census Commissioner of India (Q42502130)
Data typeExternal identifier
Domain
According to this template: states, cities, villages, towns
According to statements in the property:
administrative territorial entity (Q56061)
When possible, data should only be stored as statements
Allowed values(\d{2,6}|\d{2}(\.\d{2}((\.\d{4})?\.\d{8})?)?|\d+(.\d+(.\d+(.\d+)?)?)?)
ExampleBihar (Q1165) → 10
Aurangabad district (Q43086) → 235
Deo (Q12433979) → 0473
Pachmo (Q12436675) → 254385
Sourcehttp://data.gov.in
Related to countryFlag of India.svg India (Q668) (See 14 others)
Lists
Proposal discussionProperty proposal/census area code
Current uses82
Search for values
[create] Create a translatable help page (preferably in English) for this property to be included here
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of this constraint violations: Database reports/Constraint violations/P3213#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Format “(\d{2,6}|\d{2}(\.\d{2}((\.\d{4})?\.\d{8})?)?|\d+(.\d+(.\d+(.\d+)?)?)?)”: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P3213#Format, SPARQL
Type “administrative territorial entity (Q56061): element must contain property “instance of (P31)” with classes “administrative territorial entity (Q56061)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P3213#Type Q56061, SPARQL
Item “country (P17): India (Q668): Items with this property should also have “country (P17): India (Q668)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P3213#Item P17, SPARQL
Single value: this property generally contains a single value. (Help)
List of this constraint violations: Database reports/Constraint violations/P3213#Single value, hourly updated report, SPARQL

Some notes about this property[edit]

  • The regular expression given for this property is meant to match codes from the 1991 census, the "Permanent" Location Code Number scheme used in the 2001 census, and the revised Metadata and Data Standards version used in the 2011 census. (I am not entirely sure how the codes from before 1991 worked, nor whether the regular expression can be simplified further; if you know either of these things, please let me know.)
  • Within the various district census handbooks, the formats for the codes are represented inconsistently: some present all higher-level values together (as in state code+district code+subdistrict code+village code), while some only present the relevant value (as in just the state/district/subdistrict/village code). For censuses prior to 2011, the concatenation of higher-level values is appropriate as, for example, two villages/subdistricts/districts in two different states may have the same village/subdistrict/district number. Every administrative territorial entity in India has a unique 2011 census code, however, determined by the number of digits in said code (2 for states, 3 for districts, 4 for subdistricts, and 6 for villages), so they should be noted without the aforementioned concatenation.

Mahir256 (talk) 21:05, 3 May 2018 (UTC)