A new ADRIO for daily influenza data at the state level. #276
Merged
Averydx merged 13 commits intoNAU-CCL:2.0-betafrom Feb 19, 2026
Merged
A new ADRIO for daily influenza data at the state level. #276Averydx merged 13 commits intoNAU-CCL:2.0-betafrom
Averydx merged 13 commits intoNAU-CCL:2.0-betafrom
Conversation
JavadocMD
requested changes
Jan 12, 2026
Contributor
JavadocMD
left a comment
There was a problem hiding this comment.
See inline comments for changes. Also (if you haven't already) make sure to test that this ADRIO can successfully pull the entire dataset. We want to uncover any surprise data parsing issues.
JavadocMD
approved these changes
Feb 19, 2026
Contributor
|
Not sure what's up with the check job failing, looks like another problem with geo data sourcing. I ran the checks myself and they pass, so we'll call this good to go. Squash-merge when ready. Remember to clean up the commit message. |
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
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.
This ADRIO is designed to draw from two columns in the dataset COVID-19 Reported Patient Impact and Hospital Capacity by State Timeseries (RAW) at https://healthdata.gov/Hospital/COVID-19-Reported-Patient-Impact-and-Hospital-Capa/g62h-syeh/about_data
The dataset does not appear to have any missing values, but I retained the missing value checks just in case. Example setup of the ADRIO would look like
cdcadrio_H = cdc.InfluenzaStateHospitalizationDaily( fix_missing=0, column = 'hospitalizations' ).with_context( time_frame=TimeFrame.of("2022-09-15", 7 * 26 + 1), scope=StateScope.in_states(["AZ","NV"], year=2019), )where column can be the string hospitalizations or admissions.