mysociety / yournextrepresentative

A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
GNU Affero General Public License v3.0
56 stars 21 forks source link

"The Conservative Party" not being in the party drop-down (any more) causes confusion #823

Open mhl opened 8 years ago

mhl commented 8 years ago
In [10]: party_set = PartySet.objects.get(name='Great Britain')

In [16]: party_set.parties.filter(name__contains='Conservative')
Out[16]: [<Organization: Conservative and Unionist Party>, <Organization: New Independent Conservative Chelsea and Fulham>, <Organization: Ulster Conservatives and Unionists - New Force>]

@symroe Any idea how this could have happened?

mhl commented 8 years ago

Oh, no - it's been renamed. Previously:

In [7]: Organization.objects.get(extra__slug='party:52')
Out[7]: <Organization: Conservative Party>

... but on the DC site:

In [25]: Organization.objects.get(extra__slug='party:52')
Out[25]: <Organization: Conservative and Unionist Party>
jf1 commented 8 years ago

This highlights the need to support party descriptions, ideally with the ability to select a default party description that isn't the party's primary name. Even better if country specific defaults were supported, so the appropriate description is automatically offered/pre-selected for elections in Scotland and Wales.

According to EC the primary name was changed to "Conservative and Unionist Party" on 15/03/2016 with "Conservative Party" introduced as a description on the same day. Existing descriptions include: Conservative Party Candidate Scottish Conservative and Unionist The Conservative Party Candidate Welsh Conservative Party Candidate

jf1 commented 8 years ago

I've just had to add two candidates whose SoPN party descriptions weren't available in the DC party list.

We mustn't underestimate the number of users who'd be confused by this, or the potential for them to abandon the immediate process and potentially abandon the site forever, so +1 to supporting party descriptions (for "Labour and Co-operative Party" etc) and a default one to override the party's primary name (especially to deal with the "Conservative and Unionist" situation)

jf1 commented 8 years ago

I've since seen "Labour and Co-operative Party" listed as a party in DC's data - this isn't technically correct but I'm not sure how best to address this.

There is no party with a primary name of "Labour and Co-operative Party" but the two separate parties each have this listed as a description, qualified by "(Joint Description with [other] Party)" - thereby making it impossible to for these candidates to be assigned to a party. http://search.electoralcommission.org.uk/English/Registrations/PP53 http://search.electoralcommission.org.uk/English/Registrations/PP119

DC could list "Description" (rather than "Party") for all candidates, with a grouping system to link a party's candidates together, but that still wouldn't deal with candidates who are standing on behalf of more than one party - suggestions appreciated! Arguably such candidates should be grouped into the statistics for both the Labour and Co-operative parties but that'd mean any page listing all party totals would need to highlight that X candidates are standing on behalf of more than one party, hence the sum of party totals being X higher than the number of candidates.

andylolz commented 8 years ago

@jf1: yeah – “joint descriptions pseudoparties” have been manually added to yournextrepresentative (“Independent”, too. Everything else is scraped from the Electoral Commission). There aren’t many (as I recall, TUSC/Left Unity and Labour/Co-op were the two with most candidates in 2015) so manually adding them as pseudoparties is a quick and hacky solution to capture the fact that these candidates are standing for both parties.

I totally agree that listing descriptions rather than parties would be an excellent feature to add. I think it would actually mostly solve the joint description confusion, too. The joint description pseudoparty could have just one associated description (matching the current party name) and could continue to work as it currently does (and would in fact be more correct, since this is a description).

mhl commented 7 years ago

I think this has been partly fixed now by @symroe's addition of the EC registered descriptions to the party drop-downs on the bulk adding page. It's an open question whether we should also display these in the drop-down on the normal candidate create / edit pages. (I think we probably should, even at the risk that it might confuse people that that descriptions aren't actually stored (because someone creating a party and picking the description "Conservative Party" will then see them as "Conservative and Unionist" once the person is created).)