Closed vpnagraj closed 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.
this is pulled over into v2.0.0 branch. closing.
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.