Wikidata:Property proposal/UOL Eleições ID

From Wikidata
Jump to navigation Jump to search

UOL Eleições ID[edit]

Originally proposed at Wikidata:Property proposal/Authority control

DescriptionIdentifier for elections in Brazil containing voting data for each position per State.
Representspublic election (Q40231) and voting round (Q24097670)
Data typeExternal identifier
Allowed values\d{4}/\d{2}/[A-Z]+
Allowed unitsnumber/number/string
Example 1State elections in Acre in 2014 for Federal Deputy (Q51332426)2014/06/AC
Example 2State elections in Acre in 2014 for Senate (Q51330919)2014/05/AC
Example 3State elections in Acre in 2014 for Governor, first round (Q51333850)2014/03/AC
Sourcehttps://noticias.uol.com.br/politica/politicos-brasil/
Planned useall the items about brazilian elections
Number of IDs in sourceabout 1000 items
Expected completenesseventually complete (Q21873974)
Formatter URLhttps://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)[reply]

Discussion[edit]

@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)[reply]

  • 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)[reply]
  • @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)[reply]