Retrieve actual results for provided forecasts
get_actuals( predictions_cards, geo_type = c("county", "hrr", "msa", "dma", "state", "hhs", "nation") )
predictions_cards | tibble of predictions
that are all for the same prediction task, meaning they are for the same
response, incidence period and geo_type. Forecasts may be for a
different forecast date or forecaster.
A predictions card may be created by the function
|
---|---|
geo_type | String indicating geographical type, such as "county", or "state". See the COVIDcast Geographic Coding documentation for available options. |
'predictions_cards' with an added column actual
, which represents
the observed value on the date. The quantile
and value
columns are
dropped, as the actual value does not depend on the quantile predictions.