Skip to contents

A data set with predictions for COVID-19 cases and deaths submitted to the European Forecast Hub.

Usage

example_ordinal

Format

An object of class forecast_ordinal (see as_forecast_ordinal()) with the following columns:

location

the country for which a prediction was made

target_end_date

the date for which a prediction was made

target_type

the target to be predicted (cases or deaths)

observed

Numeric: observed values

location_name

name of the country for which a prediction was made

forecast_date

the date on which a prediction was made

predicted_label

outcome that a probabilty corresponds to

predicted

predicted value

model

name of the model that generated the forecasts

horizon

forecast horizon in weeks

Details

The data was created using the script create-example-data.R in the inst/ folder (or the top level folder in a compiled package).