Description Usage Arguments Value
View source: R/evaluate_predictions.R
Retrieve actual results for provided forecasts
1 2 3 4 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.