Open ondenman opened 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
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
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.
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.
In addition to elected members, the legislature has three appointed members are three ex officio members.
The wikipedia scraper captures only elected members.
(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/#)
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]
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.
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.
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