Join hubverse oracle output to a hubverse forecast table for scoring.
Source:R/hubverse_to_scorable.R
with_hubverse_oracle_output.Rd
Join hubverse oracle output to a hubverse forecast table for scoring.
Value
The joined table, as a tibble
.
Examples
with_hubverse_oracle_output(hubExamples::forecast_outputs,
hubExamples::forecast_oracle_output)
#> # A tibble: 10,224 × 10
#> model_id reference_date target horizon location target_end_date output_type
#> <chr> <date> <chr> <int> <chr> <date> <chr>
#> 1 Flusight-… 2022-11-19 wk fl… 0 25 2022-11-19 pmf
#> 2 Flusight-… 2022-11-19 wk fl… 0 25 2022-11-19 pmf
#> 3 Flusight-… 2022-11-19 wk fl… 0 25 2022-11-19 pmf
#> 4 Flusight-… 2022-11-19 wk fl… 0 25 2022-11-19 pmf
#> 5 Flusight-… 2022-11-19 wk fl… 1 25 2022-11-26 pmf
#> 6 Flusight-… 2022-11-19 wk fl… 1 25 2022-11-26 pmf
#> 7 Flusight-… 2022-11-19 wk fl… 1 25 2022-11-26 pmf
#> 8 Flusight-… 2022-11-19 wk fl… 1 25 2022-11-26 pmf
#> 9 Flusight-… 2022-11-19 wk fl… 2 25 2022-12-03 pmf
#> 10 Flusight-… 2022-11-19 wk fl… 2 25 2022-12-03 pmf
#> # ℹ 10,214 more rows
#> # ℹ 3 more variables: output_type_id <chr>, value <dbl>, oracle_value <dbl>