Skip to content
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

Closed
wants to merge 4 commits into from

Conversation

chrismytton
Copy link
Contributor

This was causing some bad data, e.g.:

Matched Area West Moyo County to Chua West County
Matched Area Oyam County North to Aruu County North
Matched Area Bukoto County South to Mukono County South

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.

@everypoliticianbot
Copy link
Member

Summary of changes in data/Uganda/Parliament/ep-popolo-v1.0.json:

People

Added

No people added

Removed

No people removed

Name Changes

No name changes

Wikidata Changes

No changes

Organizations

Added

No organizations added

Removed

No 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.
@chrismytton chrismytton force-pushed the uganda-stop-fuzzy-matching-areas branch from b1ec967 to 2ee1cd0 Compare August 24, 2016 15:02
@everypoliticianbot
Copy link
Member

Summary of changes in data/Uganda/Parliament/ep-popolo-v1.0.json:

People

Added

No people added

Removed

No people removed

Name Changes

No name changes

Additional Name Changes

No name changes

Wikidata Changes

No changes

Organizations

Added

No organizations added

Removed

No organizations removed

Terms

Added

No terms added

Removed

No terms removed

Elections

Added

No elections added

Removed

No 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.
@chrismytton chrismytton force-pushed the uganda-stop-fuzzy-matching-areas branch from b176e01 to 3877ac9 Compare August 24, 2016 16:12
@chrismytton chrismytton force-pushed the uganda-stop-fuzzy-matching-areas branch from 3877ac9 to 14a971d Compare August 24, 2016 16:18
@everypoliticianbot
Copy link
Member

This Pull Request has been superseded by #12496 but there are non-bot commits.

@chrismytton is this pull request still needed?

@chrismytton
Copy link
Contributor Author

Closing as this code has drifted from master and I think we'll be doing everypolitician/everypolitician#599 instead now.

@tmtmtmtm tmtmtmtm deleted the uganda-stop-fuzzy-matching-areas branch December 16, 2017 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants