-
Notifications
You must be signed in to change notification settings - Fork 54
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
Uganda (Parliament): Stop fuzzy matching OCD areas #12496
Conversation
Summary of changes in PeopleAddedNo people added RemovedNo people removed Name ChangesNo name changes Wikidata ChangesNo changes OrganizationsAddedNo organizations added RemovedNo organizations removed |
This was matching several areas incorrectly, so rather than have incorrect data we're going to only do an exact match and then get an updated mapping file that includes the corrections.
b1ec967
to
2ee1cd0
Compare
Summary of changes in PeopleAddedNo people added RemovedNo people removed Name ChangesNo name changes Additional Name ChangesNo name changes Wikidata ChangesNo changes OrganizationsAddedNo organizations added RemovedNo organizations removed TermsAddedNo terms added RemovedNo terms removed ElectionsAddedNo elections added RemovedNo elections removed |
This ensures that anywhere that has an OCD id in the area_id column gets mapped to the correct area name based on the OCD CSV.
b176e01
to
3877ac9
Compare
3877ac9
to
14a971d
Compare
This Pull Request has been superseded by #12496 but there are non-bot commits. @chrismytton is this pull request still needed? |
Closing as this code has drifted from |
This was causing some bad data, e.g.:
So instead of doing a fuzzy match we're now doing an exact match. This means we'll need to get an updated mapping file from Collin which maps to the correct area names.