Skip to contents

Get a consolidated dataframe with each location and its corresponding file path for the necesary outputs.

Usage

get_submission_filepath_df(
  prod_model_type,
  loc_model_map,
  df_of_filepaths_inf_dyn = NULL,
  df_of_filepaths_hosp_only = NULL,
  df_of_filepaths_agg = NULL
)

Arguments

prod_model_type

the model type we want to submit, default is "site-level infection dynamics"

loc_model_map

two column dataframe with location and desired model type

df_of_filepaths_inf_dyn

the output filepaths resulting after running the infection dynamics model targets, default is NULL

df_of_filepaths_hosp_only

the output filepaths resulting after running the hospital admissions only model targets, default is NULL

df_of_filepaths_agg

the output filepaths resulting after running the national aggreated model target, default is NULL

Value

a dataframe of length of the number of locations (will message if not = 53) containing the model type and filepaths for the model outputs needed for the hub submission