Gets a forecast's data

download_forecast(zoltar_connection, forecast_url)

Arguments

zoltar_connection

A ZoltarConnection object as returned by new_connection()

forecast_url

URL of a forecast in zoltar_connection's forecasts

Value

Forecast data as a list in the Zoltar standard format. meta information is ignored. Full documentation at https://docs.zoltardata.com/.

Examples

if (FALSE) {
  forecast_data <- download_forecast(conn, "http://example.com/api/forecast/1/")
}