-
Notifications
You must be signed in to change notification settings - Fork 69
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
Switch to new flusurv
API endpoint
#1278
base: dev
Are you sure you want to change the base?
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
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 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.
Kudos, SonarCloud Quality Gate passed!
|
Kudos, SonarCloud Quality Gate passed!
|
) * add new columns to flusurv endpoint spec * add new age, sex, race strata, and season to schema * list new signals in documentation * move new season column to end of table * add migration script to add new fields to flusurv table * add field descriptions; reformat table so don't need to match line lengths * point from acquisition script to docs and schema def to deduplicate
|
ran the code locally and fails with
|
This should be resolved just by adding those signals to the list of those expected. |
|
This works now. I added a migration |
@melange396 @aysim319 This is ready for review. |
Summary:
Pull
flusurv
data from new CDC API endpoint. Ingest previously unlabelled age groupings. Ingest new race/ethnicity and sex breakdowns. Testflusurv.py
functions. Add more comments, messaging, and assertions.Closes #1247
Closes #242
Note:
Prerequisites:
dev
branchdev