upload_truth | R Documentation |
Uploads the data in truth_csv_file to the project identified by project_url.
upload_truth(zoltar_connection, project_url, truth_csv_file, issued_at = NULL)
zoltar_connection |
A |
project_url |
URL of a project in zoltar_connection's projects |
truth_csv_file |
A CSV file as documented at https://docs.zoltardata.com/fileformats/#truth-data-format-csv |
issued_at |
optional datetime to use for the uploaded truth forecasts' issued_at value in ISO 8601 format. NB: it must include timezone information. (the default issued_at is the time of upload.) the value must obey the constraints documented at https://docs.zoltardata.com/forecastversions/#forecast-version-rules |
A Job URL for the upload
## Not run:
job_url <- upload_truth(conn, "http://www.zoltardata.com/api/project/1/", "truth.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.