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

Propagate 328 (JHU population fix and function refactor) to main #398

Merged
merged 14 commits into from
Oct 29, 2020

Conversation

krivard
Copy link
Contributor

@krivard krivard commented Oct 28, 2020

No description provided.

dshemetov and others added 12 commits October 8, 2020 14:58
* use geocode utility source file and remove old static source file
* update tests
* update validation notebook to verify prop signals in NYC
Fix JHU's fips-population source file
* unnecessary int type casting of population
* add dropna flag and default it to a left merge
* drop XX000 FIPS when aggregating to state
* refactor pull.py - encapsulate into functions, clarify the diffing code with pandas built-ins, use geomapper for population
* remove unused static_file_dir param
* improve test all around, add a subset of real JHU data as test file
* tests: check for infinites, check to make sure the prop signals denominator matches the county sum total
Drop reference to absent list of exceptions
* change add_population_column signature back to how it was
* fix bug with dropna flag in same function being interpreted backwards
* get tests to match
* change usage of this function in JHU
@krivard krivard marked this pull request as draft October 28, 2020 20:57
Fix geomapper add_population_column function
@dshemetov dshemetov marked this pull request as ready for review October 28, 2020 23:40
@dshemetov
Copy link
Contributor

Oops, meant to find a way to see the conflicts instead of that.

@dshemetov
Copy link
Contributor

Checked out the conflict. The incoming change is the correct one, the rest was refactored into functions.

@krivard krivard merged commit 2884745 into main Oct 29, 2020
@krivard krivard mentioned this pull request Oct 29, 2020
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.

2 participants