You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 418 constituencies that share a name with an old constituency (where it has been lightly changed or forms the core of the new constituency).
We don't currently store GSS codes - GSS codes are part of the Democracy Club output.
There has been an inconsistent approach to updating GSS codes. ONS has created new codes even for constituencies with new changes (e.g. Epping forest was 'E14000693', now 'E14001226',) while constituencies without a change in Scotland have retained the same code(North Ayrshire and Arran remains 'S14000048').
Approaches
Update existing ones
Some constituencies have no changed at all (we don't create new posts every election).
For the greater set, a sense in that these have not been abolished and many are not seen as new constituencies (not shown anywhere publicly). But just because they have the same name doesn't mean they haven't changed a lot.
Allows some connection (in principle) of previous MPs for the constituency (does this matter enough to care?)
Inaccuracy of adding new GSS identifiers to 'old' constituencies.
Just create new constituencies
It's much easier to just adopt a pattern of starting from scratch each time they change.
Close off all constituencies without an end date with an end date of the election.
Create 650 new posts/constituencies based on the boundaries with a start date of the election.
Add identifiers from lookup sheet (want GSS at least to for democracy club spreadsheet lookup).
(Assumption that we'll create new numeric public whip based ids - but the mysoc_full_code in principle would work here).
More annoyingly, we appear to have two lists of constituencies, in people.json and constituencies.json - constituencies.json is what is currently loaded into TWFY; the member loading uses the constituencies in people.json to get the constituency name, sigh.
New boundaries need to be loaded into TWFY to be referenced.
Assuming we'll do the 'just create new constituencies' approach.
Boundaries are stored under 'posts' and look like this:
Considerations
Approaches
Update existing ones
Just create new constituencies
e.g.
Questions
The text was updated successfully, but these errors were encountered: