Package: zoltr 1.0.1

Matthew Cornell

zoltr:Interface to the 'Zoltar' Forecast Repository API

'Zoltar' <https://www.zoltardata.com/> is a website that provides a repository of model forecast results in a standardized format and a central location. It supports storing, retrieving, comparing, and analyzing time series forecasts for prediction challenges of interest to the modeling community. This package provides functions for working with the 'Zoltar' API, including connecting and authenticating, getting meta information (projects, models, and forecasts, and truth), and uploading, downloading, and deleting forecast and truth data.

Authors:Matthew Cornell [aut, cre], Nicholas Reich [aut, cph]

zoltr_1.0.1.tar.gz
zoltr_1.0.1.tar.gz(r-4.5-noble)zoltr_1.0.1.tar.gz(r-4.4-noble)
zoltr_1.0.1.tgz(r-4.4-emscripten)zoltr_1.0.1.tgz(r-4.3-emscripten)
zoltr.pdf |zoltr.html
zoltr/json (API)
NEWS

# Installzoltr in R:
install.packages('zoltr',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/reichlab/zoltr/issues

36 exports 0.09 score 40 dependencies 137 downloads

Last updated 8 days agofrom:1b84416b63

Exports:%>%busy_poll_jobcreate_modelcreate_projectcreate_timezerodata_frame_from_forecast_datadelete_forecastdelete_modeldelete_projectdo_zoltar_querydownload_forecastedit_modelforecast_data_from_cdc_csv_fileforecast_infoforecastsjob_datajob_infojob_info_forecast_urllatest_forecastsmodel_infomodelsnew_connectionproject_infoprojectsquantile_data_frame_from_forecast_datasubmit_querytarget_infotargetstimezero_infotimezerostruth_infounit_infoupload_forecastupload_truthzoltar_authenticatezoltar_units

Dependencies:askpassbackportsbase64urlbitbit64clicliprcpp11crayoncurldata.tabledplyrfansigenericsgluehmshttrjsonlitelifecyclelubridatemagrittrmimeMMWRweekopensslpillarpkgconfigprettyunitsprogressR6readrrlangsystibbletidyselecttimechangetzdbutf8vctrsvroomwithr

Getting Started

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2024-06-28
Started: 2019-05-22

Project Owners

Rendered fromproject-owners.Rmdusingknitr::rmarkdownon Jun 28 2024.

Last update: 2024-06-28
Started: 2019-05-22

Readme and manuals

Help Manual

Help pageTopics
Poll job's statusbusy_poll_job
Create a modelcreate_model
Create a projectcreate_project
Create a timezerocreate_timezero
Converts forecast data from Zoltar's native 'list' format to a 'data.frame'data_frame_from_forecast_data
Delete a forecastdelete_forecast
Delete a modeldelete_model
Delete a projectdelete_project
A convenience function to construct and execute a Zoltar query for either forecast or truth data.do_zoltar_query
Gets a forecast's datadownload_forecast
Edit a modeledit_model
Loads and converts a CDC CSV file to Zoltar's native 'list' formatforecast_data_from_cdc_csv_file
'forecast_data_from_cdc_csv_file()' helperforecast_data_from_cdc_data_frame
Gets a forecast's informationforecast_info
Get a model's forecastsforecasts
Get JSON for a resource (URL). Authenticates if necessaryget_resource
Gets a job's file's datajob_data
Get a job's informationjob_info
Get a new forecast upload's urljob_info_forecast_url
Get a project's latest_forecastslatest_forecasts
Get information about a modelmodel_info
Get a project's modelsmodels
Get a connection to a Zoltar hostnew_connection
Get information about a projectproject_info
Get information about all projectsprojects
Converts forecast data from Zoltar's native 'list' format to a quantile 'data.frame'quantile_data_frame_from_forecast_data
Submit a querysubmit_query
Get information about a targettarget_info
Get a project's targetstargets
Get information about a timezerotimezero_info
Get a project's timezerostimezeros
Get information about a project's truthtruth_info
Get information about a unitunit_info
Upload a forecastupload_forecast
Upload truth dataupload_truth
Log in to a Zoltar hostzoltar_authenticate
Get a project's zoltar_unitszoltar_units