Skip to contents

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 from target_data_rel_path (see read_tabular_file(). Default NULL.

...

keyword arguments passed to quantile_table_to_scorable().

Value

Scorable table, as the output of scoringutils::as_forecast_quantile().