Create a table for scoring hub model quantile forecasts from a local copy of a hub.
Source:R/hubverse_to_scorable.R
hub_to_scorable_quantiles.Rd
Requires a local version of the
forecast hub at hub_path
.
Usage
hub_to_scorable_quantiles(
hub_path,
target_data_rel_path = fs::path("target-data", "target-hospital-admissions.csv"),
target_data_file_format = NULL,
...
)
Arguments
- hub_path
Local path to hubverse-style forecast hub.
- target_data_rel_path
Path to the target data file within the hub, relative to the Hub root. Defaults to the path in the FluSight Forecast Hub. Passed to
gather_hub_target_data()
.- target_data_file_format
File format for target data file. If
NULL
, will be inferred fromtarget_data_rel_path
(seeread_tabular_file()
. DefaultNULL
.- ...
keyword arguments passed to
quantile_table_to_scorable()
.
Value
Scorable table, as the output of
scoringutils::as_forecast_quantile()
.