-
Notifications
You must be signed in to change notification settings - Fork 16
generate local county mapping from CHNG spreadsheet #1803
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
generate local county mapping from CHNG spreadsheet #1803
Conversation
krivard
left a comment
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.
nice refactor, but it might be too nice -- we should resolve the already-exists handling before merging.
dshemetov
left a comment
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.
Second Katie's comment. Should be g2g after!
We can't rely on the component counties of a group being listed individually, so reconstruct those fields ourselves based on the concatenated `fips_list` field. Split by the separator (pipe `|`) and save each result to a new column.
…geomapper/chng-fips-map-generation
dshemetov
left a comment
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.
Minor nit and 🚀
Co-authored-by: Dmitry Shemetov <[email protected]>
|
@korlaxxalrok This is ready to merge. |
Description
In case CHNG makes changes to their county mappings, include the code that takes the Google spreadsheet, assigns group numbers, and saves locally. Be careful to keep from reusing group numbers within a state. Doing so would make historical data uninterpretable or difficult to use/document.
Changelog
geo_data_proc.py