Wikidata:Property proposal/IDESCAT territorial code in Catalonia
IDESCAT territorial code in Catalonia edit
Originally proposed at Wikidata:Property proposal/Authority control
Description | official identifier for a Catalonian territorial unit, from Institut Estadístic de Catalunya (IDESCAT) |
---|---|
Represents | Municipality and regional codes for all the administrative entities of Catalonia territories: comarca of Catalonia (Q937876), municipality of Catalonia (Q33146843), decentralized municipal entity (Q6554043), minor local entity of Spain (Q3333989). Exemple: Alt Empordà (Q6904), Barcelona (Q1492), Picamoixons (Q9059342), etc. |
Data type | External identifier |
Template parameter | ca:Plantilla:Infotaula geografia política, now just for municipalities. |
Domain | subclass of (P279) of administrative territorial entity of Catalonia (Q11917457) and its dependents |
Allowed values | Numeric. 2 digits for comarca of Catalonia (Q937876), 6 digits for municipality of Catalonia (Q33146843), 10 digits for the rest of entities |
Example |
|
Source | https://www.idescat.cat/codis/?lang=en |
Planned use | Upload values and incorporate them to cawiki infoboxes |
Formatter URL | https://www.idescat.cat/emex/?id=$1 |
Robot and gadget jobs | Control domain constrains. Possible access to get public information to upload several properties (population (P1082), nominal GDP (P2131), et al. |
- Motivation
It's an official code for all catalan territory levels. Now, it's showed in infobox as a calculated code from INE municipality code (P772) just for municipalities, but not for the rest of the entities. It allows to access directly to whole statistical information (Demographic, housing, economy, etc.)
Formatter URL - Information is only for comarca of Catalonia (Q937876) and municipality of Catalonia (Q33146843)
Amadalvarez (talk) 11:39, 31 July 2017 (UTC)
- Discussion
- Support --ESM (talk) 17:14, 31 July 2017 (UTC)
- Support--Isidre blanc (talk) 17:33, 31 July 2017 (UTC)
- Support --Castellbo (talk) 05:30, 1 August 2017 (UTC)
- Support in general but Oppose as written. How can we use a formatter URL that is "only for comarca of Catalonia (Q937876) and municipality of Catalonia (Q33146843)"? Perhaps more than one property is needed? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:32, 1 August 2017 (UTC)
- @Pigsonthewing: The 10 digits code corresponds to the "low level" entities that has no datailed info yet. In my opinion, they will have in the future. Having two different properties will complicate the decission about "what to take" in the same way that use its classe to know wheter use URL or not. Thanks --Amadalvarez (talk) 05:48, 2 August 2017 (UTC)
- @Amadalvarez: Can't you use LAU (P782)? I take the blame for creating BG EKATTE place ID (P3990) because I didn't know about LAU: nowadays I'd use LAU.
- If Spain and Catalunya assign different numbers to Catalunyan regions, then you can't use just LAU (without a qualifier who assigned it...). --Vladimir Alexiev (talk) 18:08, 29 September 2017 (UTC)
- Added links in the examples. --Vladimir Alexiev (talk) 18:11, 29 September 2017 (UTC)