everypolitician / everypolitician-data

data for national legislatures worldwide
http://everypolitician.org/
237 stars 54 forks source link

Turks and Caicos Islands (House of Assembly) #25274

Open ondenman opened 7 years ago

ondenman commented 7 years ago

Problem with Incoming Data

Legislature

Turks and Caicos Islands (House of Assembly)

Problem

Lots of incoming data but no changes showing. New term needs adding. https://github.com/everypolitician/everypolitician-data/pull/25271

ondenman commented 7 years ago

It appears that 2012 is missing a member.

The member appears in the Wikipedia article for that election but is not in the live data. screen shot 2017-02-22 at 15 32 18

ondenman commented 7 years ago

Membership data for 2012 is coming in from the WP person source. It shouldn't. We should be getting membership info only from membership sources. See: https://github.com/everypolitician/everypolitician-data/pull/26457

ondenman commented 7 years ago

Unwanted data is coming in from Wikipedia.

name,wikiname,party,area,term,id
Amanda A. Misick,"",PNP,Cheshire Hall & Richmond Hill (results voided in February 2013),2012,amanda_a._misick
ondenman commented 7 years ago

I've opened an exploratory PR: https://github.com/everypolitician/everypolitician-data/pull/26675.

I think the best approach would be to sort out the existing term first: make Wikipedia the membership source and have person data come in from the archived file. Wikipedia gives us an extra member missing from the archive but we lose four others. I have looked in the WP article history for those members but can find no mention of them. They don't appear to be elected members, which would explain why.

I'm not sure how yet, but I believe these missing members should come from an upstream source. Though, they could be stored in an archive file.

ondenman commented 7 years ago

I've opened a PR that splits the 2012 archive source into two. One for elected members (which will be pulled in from Wikipedia) and another for the appointed members.

ondenman commented 7 years ago

In addition to elected members, the legislature has three appointed members are three ex officio members.

The wikipedia scraper captures only elected members.

screen shot 2017-03-08 at 11 28 06

(The live data has four appointed members in the previous term, which is correct according to this article: http://www.caribjournal.com/2012/11/27/turks-and-caicos-governor-appoints-final-two-members-to-house-of-assembly/#)

ondenman commented 7 years ago

This Wikipedia article suggests that there are four appointed members in the current term:

At the time of the election, the House of Assembly had 15 elected members and four appointed members. The 15 elected members were elected by two methods; ten were elected from single-member constituencies, with five elected on an at-large basis, with voters able to vote for up to five candidates at the national level.[4] The four appointed members include one nominated by the Premier, one nominated by the Leader of the Opposition and two members appointed by the Governor.[5]

ondenman commented 7 years ago

But this Wikipedia article says different:

The House of Assembly has 21 members in total. Formerly, 15 members were elected for a four year term in single-seat constituencies (of which 11 lay in the Caicos Islands and 4 in the Turks Islands), while 3 members sat ex officio, 3 were appointed members and a speaker was chosen from outside the house.

Although the number of elected representatives to the body was not changed during the 2009-12 suspension of self-government, the composition was changed so that ten of the 15 elected representatives are elected to individual districts, while five are now elected at-large.

ondenman commented 7 years ago

The area names differed between term 2012 and term 2016 articles on Wikipedia. (&s instead of )and_s) I've edited the 2012 article to harmonise the names.