upload_truth {zoltr} | R Documentation |
Upload truth data
Description
Uploads the data in truth_csv_file to the project identified by project_url.
Usage
upload_truth(zoltar_connection, project_url, truth_csv_file, issued_at = NULL)
Arguments
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 |
Value
A Job URL for the upload
Examples
## Not run:
job_url <- upload_truth(conn, "http://www.zoltardata.com/api/project/1/", "truth.csv")
## End(Not run)
[Package zoltr version 1.0.1 Index]