latest_forecasts | R Documentation |
Get a project's latest_forecasts
latest_forecasts(zoltar_connection, project_url)
zoltar_connection |
A |
project_url |
URL of a project in zoltar_connection's projects |
A data.frame
of all of the latest forecasts for the passed project. columns: forecast_id, source.
(Later we may generalize to allow passing specific columns to retrieve, such as 'forecast_model_id',
'time_zero_id', 'issued_at', 'created_at', 'source', and 'notes'.)
## Not run:
the_latest_forecasts <- latest_forecasts(conn, "https://www.zoltardata.com/api/project/9/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.