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)
A ZoltarConnection
object as returned by new_connection()
URL of a project in zoltar_connection's projects
A CSV file as documented at https://docs.zoltardata.com/fileformats/#truth-data-format-csv
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
if (FALSE) {
job_url <- upload_truth(conn, "http://www.zoltardata.com/api/project/1/", "truth.csv")
}