Skip to contents

Get a tibble of all modeling tasks specified on the Hub.

Usage

get_hub_tasks(hub_path, ...)

Arguments

hub_path

Path to the hub root.

...

additional arguments passed to hubValidations::expand_model_out_grid().

Value

A tibble of modeling tasks,

Examples


get_hub_tasks(system.file("testhubs/v6/target_dir", package = "hubUtils"))
#> # A tibble: 330 × 6
#>    reference_date target            horizon location target_end_date output_type
#>    <date>         <chr>               <int> <chr>    <date>          <chr>      
#>  1 2022-10-22     flu_hosp_rate_cat       1 US       NA              pmf        
#>  2 2022-10-22     flu_hosp_rate_cat       2 US       NA              pmf        
#>  3 2022-10-22     flu_hosp_rate_cat       1 01       NA              pmf        
#>  4 2022-10-22     flu_hosp_rate_cat       2 01       NA              pmf        
#>  5 2022-10-22     flu_hosp_rate_cat       1 02       NA              pmf        
#>  6 2022-10-22     flu_hosp_rate_cat       2 02       NA              pmf        
#>  7 2022-10-22     flu_hosp_rate           1 US       NA              cdf        
#>  8 2022-10-22     flu_hosp_rate           2 US       NA              cdf        
#>  9 2022-10-22     flu_hosp_rate           1 01       NA              cdf        
#> 10 2022-10-22     flu_hosp_rate           2 01       NA              cdf        
#> # ℹ 320 more rows