Skip to contents

Get plot COVID hub submission

Usage

get_plot_covidhub_submission(
  df,
  days_to_show_truth_data = 90,
  truth_data_path =
    "https://media.githubusercontent.com/media/reichlab/covid19-forecast-hub/master/data-truth/truth-Incident%20Hospitalizations.csv"
)

Arguments

df

dataframe containing the 23 quantiles in the forecast dates for all states for submitting to the hub

days_to_show_truth_data

days we want to go back to show the observed data before making our forecast, default is 90

truth_data_path

link to get the truth data for comparison, default is from the hub