Skip to contents

Aggregate the WW data to the state-level

Usage

aggregate_ww(
  ww_data_raw,
  forecast_date,
  calibration_time,
  hosp_reporting_delay
)

Arguments

ww_data_raw

The site leve ww data after being cleaned

forecast_date

date forecast is being made

calibration_time

duration of calibration period for hospitalizations

hosp_reporting_delay

the hospital reporting delay (how much is being nowcasted)

Value

a dataframe with wastewater data for all locations, the weekly avg pcr concentration, and the date