Skip to content

A new ADRIO for daily influenza data at the state level. #276

Merged
Averydx merged 13 commits intoNAU-CCL:2.0-betafrom
Averydx:main
Feb 19, 2026
Merged

A new ADRIO for daily influenza data at the state level. #276
Averydx merged 13 commits intoNAU-CCL:2.0-betafrom
Averydx:main

Conversation

@Averydx
Copy link

@Averydx Averydx commented Jan 8, 2026

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.

Copy link
Contributor

@JavadocMD JavadocMD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 JavadocMD self-requested a review February 19, 2026 18:11
@JavadocMD
Copy link
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.

@Averydx Averydx changed the base branch from main to 2.0-beta February 19, 2026 19:41
@Averydx Averydx merged commit 7aafa26 into NAU-CCL:2.0-beta Feb 19, 2026
1 check failed
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