Open brookslogan opened 1 year ago
The time of day at which reporting occurs may also have shifted. So if things are shifted back to the day they are published, we can't use the originally planned timing. See here.
Update: upstream reporting cadence has changed to Wed + Fri. The acquisition pipeline has been updated to ensure we will get Wed data into the API on Wed moving forward, but Fri updates to hhs data source may still be recorded on Sat.
Actual Behavior:
Documentation states
There was a reporting cadence change around the beginning of July 2023 that impacts this statement, and I don't think this precisely describes either the pre- or post- cadence-change state.
Prior to cadence change:
previous_day_*
measurements but instead shifting them to the relevant days, we won't have a measurement about admissions/etc. that happen today, reported today.Post cadence change:
The expected cadence appears to be sort of weekly, technically twice a week:
previous_day_*
data.)The encountered lag in our hhs endpoint is 8 to 14 days, plus some versions that were staler due to transient issues (up to 18 days of lag, or 26 for American Samoa). That's 1 day higher than expected.
Expected behavior
Context
I spotted this while reading the documentation for other purposes. However, I do have some plots of lag by location & version generated by this Rmd for the influenza admissions signal. Swapping for the covid signal seemed to give similar/identical results regarding lag.