if (FALSE) {
forecast_data <- do_zoltar_query(
conn, "https://www.zoltardata.com/api/project/44/", "forecasts",
models=c("CMU-TimeSeries", "UMass-MechBayes"), units=c("01003", "US"),
targets=c("1 wk ahead inc death"), targets=c("2020-07-19", "2020-07-20"),
types=c("quantile"), as_of="2020-07-10")
truth_data <- do_zoltar_query(
conn, "https://www.zoltardata.com/api/project/44/", "truth", c("01003", "US"),
c("1 wk ahead inc death"), c("2020-07-19", "2020-07-20"))
}
Run the code above in your browser using DataLab