-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Clustering member data by political geographies #28
Clustering member data by political geographies #28
Conversation
Your Render PR Server URL is https://meep-intelligence-hub-frontend-pr-28.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cnstglgl6cac73av45f0. |
40b825f
to
97e463e
Compare
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.
This looks really solid. I've got some minor comments I think would be good to be fixed, but it seems in a good place.
As a note over at upstream mysociety#506 they are working at pulling in council data. I feel like this might be complementary to the work done here to bring in councils, but here in a slightly different way due to PostGIS. |
I am presuming here @janbaykara that wards are shuffling between constituencies, but the boundaries of the wards remain the same in the 2019 electoral map? |
I am guessing so but haven't researched this @conatus. I've seen ward data 2023, 2022, 2021 etc so I think they may change a lot more frequently than constituencies; plausible they'll change again to align with the 2024 election? On the other hand, wards are the electoral unit for council elections not for constituency elections, so also plausible and perhaps more likely that they won't change... |
This PR provides statistical data on member lists at the regional / constituency / council / ward levels, dependent on the user's current zoom, so that we are always providing some kind of insight for the current view.
As part of this work, the codebase now ingests Region, Constituency and Ward geographies for the whole of the UK, and in PostGIS format unlike before.
The scene is set for geography explorer panels and other interactive map features.
Motivation
Displayed member data was previously scattered across the map like a grain truck that's tipped over onto the road.
How Can It Be Tested?
python manage.py import_areas
python manage.py import_regions
python manage.py import_wards
Member
- make sure it has postcodes!data configuration
option in the top leftYou can also run the import tests to verify that data is indeed importing.
Screenshots (if appropriate):
Types of changes