-
Notifications
You must be signed in to change notification settings - Fork 17
Propagate geomapper changes into JHU #297
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
Merged
Merged
Conversation
This file contains hidden or 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
Propagate NYC and pylint hotfix for JHU
…ty issue template. Edited existing templates to make more relevant.
EMR: diff uploads
* README * data processing script * demo/tutorial notebooks Changes include: * updated data sources * Added state->HHS region mappings * new HRR weights * new JHU UID mappings by hand * 2019 population from US Census Bureau * Puerto Rico population from 2010 * Shortcut crosswalks Removed unused code
* Removed old sources, since we now pull from the internet * Renamed cross files, since they are tables * Added new mapping tables * Updated population figures * Added HHS mapping
* added the functions zip_to_state_code, zip_to_state_id (and the convert_* versions), zip_to_msa and convert_zip_to_msa * added two functions add_geocode and replace_geocode meant to consolidate the logic in the utility and reduce the code size by a factor of 5. These functions work along side with the rest of the deprecated functions and are meant to replace e.g. zip_to_msa(df, ...) with replace_geocode(df, "zip", "msa", ...). * renamed functions that referred to fips or county interchangeably to consistently use fips, e.g. zip_to_county to zip_to_fips * enforced the string type on all geocodes, with zero padding as necessary * renamed instances of stcode to state_code for clarity * removed non-JHU UID functions for JHU conversion * updated tests to match Bugfixes: * Removed .0000, 9xxx in output mappings - fixes most of #254 * Puerto Rico deaths should now be reported - fixes #179 * Generally fixes #215
Merged quidel_covidtest and quidel_flutest
Add issue templates
* fix linter issues in both geo_data_proc and geomap * make private _load_crosswalk * add deprecation warnings * add and update docstrings * update and fix tests Other updates: * made global variable for HHS source file * add Puerto Rico megaFIPS 72000 and its population * update static files
Comment typo Co-authored-by: chinandrew <[email protected]>
Small code consistency change Co-authored-by: chinandrew <[email protected]>
Co-authored-by: Alex Reinhart <[email protected]>
Prepare for public release
* Correct README information about JHU fixes * Remove JHU NYC county splitting * Add Dmitry to authorship comments in geo_data_proc and geomap
…icators into rf_geo_refactor
implement claims-only hospitalization indicator
* Change 'national' -> 'nation' for consistency with #207 * Enforce FIPS and ZIP from_code when going to 'nation' level
* if 'bucket_name' param is empty, do not archive * typo fix to comment in geo_data_proc
…icators into rf_geo_refactor
* keep the JHU entries for the counties that Kansas City contributes to (were deleted previously, leading to missing counts) * fix bug that deleted the Puerto Rico Unassigned and Out of State JHU UIDs * delete the New York County splitting that was previously necessary * add New York County UIDs back to the crosswalk
Further refactoring for the geo coding utility
korlaxxalrok
approved these changes
Oct 7, 2020
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.
Tests pass in Jenkins (though we are ignoring linting because of that weird issue) so looks good to me 👍
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.
#217 merged into main because delphi_utils doesn't have an associated deployment branch. This PR applies those changes to JHU automation.