cmu-delphi / covidcast-indicators

Back end for producing indicators and loading them into the COVIDcast API.
https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html
MIT License
12 stars 17 forks source link

hhs cadence&latency documentation is imprecise, outdated; hhs acquisition might be late #1889

Open brookslogan opened 1 year ago

brookslogan commented 1 year ago

Actual Behavior:

Documentation states

HHS issues updates to this timeseries once a week, and occasionally more often. We check for updates daily. Lag varies from 0 to 6 days.

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:

Post cadence change:

The expected cadence appears to be sort of weekly, technically twice a week:

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.

brookslogan commented 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.

brookslogan commented 11 months ago

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.