quantile_data_frame_from_forecast_data | R Documentation |
list
format to a quantile data.frame
Converts forecast data from Zoltar's native list
format to a quantile data.frame
quantile_data_frame_from_forecast_data(forecast_data)
forecast_data |
Forecast data as a |
A data.frame
from forecast_data that's the same as data_frame_from_forecast_data()
does except
only includes point and quantile rows, and with this header: 'location', 'target', 'type', 'quantile',
'value', i.e., 'unit' -> 'location' and 'class' -> 'type'
## Not run:
forecast_data <- jsonlite::read_json("docs-predictions.json")
data_frame <- quantile_data_frame_from_forecast_data(forecast_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.