Wikidata:Property proposal/UOL Eleições ID
Jump to navigation
Jump to search
UOL Eleições ID
[edit]Originally proposed at Wikidata:Property proposal/Authority control
Description | Identifier for elections in Brazil containing voting data for each position per State. |
---|---|
Represents | public election (Q40231) and voting round (Q24097670) |
Data type | External identifier |
Allowed values | \d{4}/\d{2}/[A-Z]+ |
Allowed units | number/number/string |
Example 1 | State elections in Acre in 2014 for Federal Deputy (Q51332426) → 2014/06/AC |
Example 2 | State elections in Acre in 2014 for Senate (Q51330919) → 2014/05/AC |
Example 3 | State elections in Acre in 2014 for Governor, first round (Q51333850) → 2014/03/AC |
Source | https://noticias.uol.com.br/politica/politicos-brasil/ |
Planned use | all the items about brazilian elections |
Number of IDs in source | about 1000 items |
Expected completeness | eventually complete (Q21873974) |
Formatter URL | https://noticias.uol.com.br/politica/politicos-brasil/resultado.htm?ano-eleicao=$1&dados-cargo-disputado-id=$2&dados-uf-eleicao=$3 |
Motivation
[edit]This identifier is a curated source that aggregates data such as election results in Brazil, positions held, year of the election, number of votes, State and candidates. I intend to add this authority control as soon as it is available for a Wikipedia project on elections in Brazil.EricaAzzellini (talk) 21:11, 10 September 2018 (UTC)
Discussion
[edit]- Support David (talk) 07:50, 11 September 2018 (UTC)
- Support Great source! Ederporto (talk) 12:06, 12 September 2018 (UTC)
- Support We need this! --Joalpe (talk) 16:08, 13 September 2018 (UTC)
- Question Is $1/$2/$3 actually possible for formatter URLs? Lewis Hulbert (talk) 19:31, 14 September 2018 (UTC)
- Comment more examples , please Worldm99 (talk)
- @EricaAzzellini, Lewis Hulbert: The $1/$2/$3 format is not supported natively by wikidata, but if it seems to be needed here we can set up a custom parser on labs and point the formatter URL there; it's been done for some other properties in the past. ArthurPSmith (talk) 19:30, 18 September 2018 (UTC)
- @ArthurPSmith: Is there a phabricator ticket for adding support for this kind of format to Wikidata? Thanks. Mike Peel (talk) 23:36, 19 September 2018 (UTC)
- @Mike Peel: Yes - see T150939. ArthurPSmith (talk) 13:06, 20 September 2018 (UTC)
- @ArthurPSmith: Is there a phabricator ticket for adding support for this kind of format to Wikidata? Thanks. Mike Peel (talk) 23:36, 19 September 2018 (UTC)
- Support Mike Peel (talk) 23:36, 19 September 2018 (UTC)
- Support Lewis Hulbert (talk) 04:53, 20 September 2018 (UTC)
- Comment done! @Worldm99: EricaAzzellini (talk) 15:21, 20 September 2018 (UTC)
@EricaAzzellini, ديفيد عادل وهبة خليل 2, Ederporto, ArthurPSmith, Mike Peel, Hermógenes Teixeira Pinto Filho: @Joalpe, Worldm99, Lewis Hulbert: Done: UOL Eleições ID (P5892). − Pintoch (talk) 06:39, 21 September 2018 (UTC)
- Note: the formatter URL (as expected) doesn't work right now. I'll try to update the external id formatter tool to support it but it may be a week or so before I can get to that. ArthurPSmith (talk) 11:59, 21 September 2018 (UTC)
- @EricaAzzellini: I've updated the external id formatter to handle this, and set the formatter URL so it will now work (see the examples on the property page). You may have to update (or do "?action=purge") on any wikidata items that use this ID to get the new formatter ID to be recognized. ArthurPSmith (talk) 18:42, 1 October 2018 (UTC)