Conversation
- rename input arg to `update` to avoid reassignment later - comment and reuse args_insert - spelling - comment magic constant used in output format - rename location-network/catchmentid map
Previously, age strata were numbered sequentially which allowed us to store rate values by position in a list. With the introduction of the new strata, this system is not robust enough to track all the different groups (e.g. ageids are no longer sequential and there are now race and sex groupings with separate numbering systems).
734dca9 to
f8a6706
Compare
melange396
left a comment
There was a problem hiding this comment.
nice work! i really appreciate the thorough commenting!
youll wanna pull in the changes from the dev branch, PR #1241 added tests for the flusurv endpoint.
|
Source data is here. |
|
We warn about new demographic breakdowns here. Expected breakdowns are defined here. |
On my (old) computer this takes 54 s, so this shouldn't be a problem. This source doesn't have version history, so when patching all the new data will be added under "today"'s issue date. I believe we have a connection at the source who can share their internal versioned data with us.
Based on the code, we apparently keep the newer value. However, the unique key is |
#1426 can't be reverted for some reason. I merged the ndefries/flusurv-new-columns branch in directly in f544328 |
|



Summary:
Pull
flusurvdata from new CDC API endpoint. Ingest previously unlabelled age groupings. Ingest new race/ethnicity and sex breakdowns. Testflusurv.pyfunctions. Add more comments, messaging, and assertions.Closes #1247
Closes #242
Note:
Prerequisites:
devbranchdev