signaturescience / fiphde

Forecasting Influenza in Support of Public Health Decision Making
https://signaturescience.github.io/fiphde/
GNU General Public License v3.0
3 stars 1 forks source link

add option to shift daily hospitalizations retrieved #187

Closed vpnagraj closed 11 months ago

vpnagraj commented 11 months ago

the daily hospitalizations returned from the healthdata.gov API is currently shifted by 1 to reflect the 1 day delay in reporting:

https://github.com/signaturescience/fiphde/blob/main/R/retrieve.R#L86

per FluSight organizer guidance, that may not be appropriate in all cases.

we should add an option to conditionally perform this shift.

vpnagraj commented 11 months ago

this is pulled over into v2.0.0 branch. closing.