-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UK Electoral Divisions #156
Conversation
# in England, Wales, Scotland and Northern Ireland | ||
pcon = { | ||
# data from: http://geoportal.statistics.gov.uk/datasets/westminster-parliamentary-constituencies-december-2017-full-extent-boundaries-in-the-uk-wgs84 | ||
'url': 'https://opendata.arcgis.com/datasets/5c582cef61d04618928639dd17e4f896_1.csv', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to commit the source CSV files here and document where they came from instead of linking them directly so that this process is more "reproducible". I can see reason for going either way on this. Happy to take guidance.
Hi. Any update on this? It would be really useful to get a review from a maintainer on this. </polite bump> |
Sure, i'll check this over this weekend. |
@jpmckinney this all built fine, and the output looks solid to me. |
Thanks! |
🎉 Excellent – I'd just started reviewing (I work with Chris so knew some of what he'd done already). All looks great, and thanks for merging! |
thanks, all 👍 |
This follows on from the conversation started in #152
Done in this PR:
I've started off by adding scripts to create ids from ONS data for:
I look forward to review/feedback on this.
Possible Future Work:
Inevitably at some point there will be changes to these divisions which we need to account for. The next substantial legislative change to impact these divisions is likely to be this review of UK Parliamentary Consitituencies:
I'm happy to keep on top of this moving forwards.
At the moment everything has a current GSS code. These boundaries are relatively stable and change quite infrequently, but many of the divisions in this dataset have had boundary changes at some point and hence it is useful to be able to map a division to >1 GSS codes based on a date range.
I have not attempted to deal with that here but I may look at using the Code History Database to do this as future work.
As discussed in #152 there is a large body of division identifiers (mainly relevant to local elections) which have some additional complexity. Lets review the best way to manage them in light of future interest/use-cases.