forked from mysociety/local-intelligence-hub
-
-
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
feat: add command to import postcode areas and code to display on choropleth #202
Open
joaquimds
wants to merge
4
commits into
main
Choose a base branch
from
feat/import-postcode-areas
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+347
−38
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commonknowledge-bot
deployed
to
feat/import-postcode-areas - meep-database PR #202
January 29, 2025 17:58 — with
Render
Active
🔍 Existing Issues For ReviewYour pull request is modifying functions with the following pre-existing issues: 📄 File: hub/graphql/types/model_types.py
Did you find this useful? React with a 👍 or 👎 |
commonknowledge-bot
temporarily deployed
to
feat/import-postcode-areas - meep-intelligence-hub-backend PR #202
January 29, 2025 17:59 — with
Render
Destroyed
commonknowledge-bot
temporarily deployed
to
feat/import-postcode-areas - meep-intelligence-hub-backend PR #202
January 29, 2025 17:59 — with
Render
Destroyed
commonknowledge-bot
temporarily deployed
to
feat/import-postcode-areas - meep-intelligence-hub-frontend PR #202
January 29, 2025 17:59 — with
Render
Destroyed
commonknowledge-bot
had a problem deploying
to
feat/import-postcode-areas - meep-intelligence-hub-worker PR #202
January 29, 2025 17:59 — with
Render
Failure
commonknowledge-bot
deployed
to
feat/import-postcode-areas - meep-intelligence-hub-worker PR #202
January 30, 2025 18:37 — with
Render
Active
commonknowledge-bot
deployed
to
feat/import-postcode-areas - meep-intelligence-hub-worker PR #202
January 30, 2025 23:43 — with
Render
Active
joaquimds
force-pushed
the
feat/import-postcode-areas
branch
from
January 31, 2025 14:14
6d0deb2
to
e686143
Compare
commonknowledge-bot
deployed
to
feat/import-postcode-areas - meep-intelligence-hub-worker PR #202
January 31, 2025 14:14 — with
Render
Active
commonknowledge-bot
temporarily deployed
to
feat/import-postcode-areas - meep-intelligence-hub-backend PR #202
February 3, 2025 11:35 — with
Render
Destroyed
commonknowledge-bot
temporarily deployed
to
feat/import-postcode-areas - meep-intelligence-hub-frontend PR #202
February 3, 2025 11:35 — with
Render
Destroyed
commonknowledge-bot
deployed
to
feat/import-postcode-areas - meep-intelligence-hub-worker PR #202
February 3, 2025 11:35 — with
Render
Active
joaquimds
force-pushed
the
feat/import-postcode-areas
branch
from
February 3, 2025 11:39
0a0dc67
to
fd2e1c7
Compare
commonknowledge-bot
deployed
to
feat/import-postcode-areas - meep-intelligence-hub-worker PR #202
February 3, 2025 11:39 — with
Render
Active
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Required for visualising postcode-level data.
To run the command,
python manage.py import_postcode_areas
, you must first download thegeojsonl
files from MinIO: https://minio-console-2-c73y.onrender.com/browser/postcodesI have added postcodes to the Census Output Area boundary type, as I wasn't sure where to group it. We have to group it with something, as displaying all the postcodes at once at low zoom levels will crash the browser.
Any recently imported data set should be visible at the postcode level, as each GenericData is given a
point
, which should be located within a postcode. However, in my experience a lot of dragging-around is necessary to actually find the postcode, and the areas jump around a little when switching from output area to postcode.