Man pages for reichlab/covidHubUtils
Utility functions for the COVID-19 forecast hub

aggregate_to_weeklyAggregate daily data to weekly data
align_forecastsAdd reference dates and relative horizons to a dataframe of...
align_forecasts_one_temporal_resolutionInternal function that add reference dates and relative...
as_covid_hub_forecastsReformat model outputs stored as a 'model_output_tbl' class...
calc_cramers_dist_equal_spaceApproximate the Cramer’s distance between a pair of...
calc_cramers_dist_one_model_pairCalculate the approximated Cramer’s distance between a pair...
calc_cramers_dist_unequal_spaceApproximate the Cramer’s distance between a pair of...
calc_forecast_week_end_dateCalculate end date for the week a forecast was made.
calc_submission_due_dateCalculate the submission date that corresponds to a given...
calc_target_end_dateCalculate end date for a forecast is targeting.
calc_target_week_end_dateCalculate end date for the week a forecast is targeting.
covidHubUtilscovidHubUtils - Utility functions for the COVID-19 forecast...
date_to_datetimeCreate a datetime by appending time and/or UTC timezone to...
date_to_week_end_dateCalculate the date of the Saturday that ends the MMWR...
download_raw_nytimesDownload historical raw truth data from NYTimes and write to...
get_all_modelsGet all valid model names
get_forecast_file_pathGenerate paths to forecast files submitted on a range of...
get_hub_locationsCreate data/hub_locations.rda for loading data from 'zoltar'...
get_model_designationsGet model designations from metadata
get_model_forecast_history_local_zoltarGet forecast submission history of a specified model from...
get_model_metadataGet Hub model metadata
get_models_local_zoltarGet id and abbrevations of all models available in a...
get_plot_forecast_dataCombine 'load_truth()' and 'pivot_forecasts_wider()'
get_truth_pathConstruct the file path to a truth file
get_valid_target_listCreate data/hub_targets_us.rda and data/hub_targets_ecdc.rda
get_zoltar_project_id_local_zoltarGet Zoltar project id from local zoltar sqlite file
get_zoltar_project_urlGet Zoltar project URL
hub_locationsInformation on locations in the COVID-19 Forecast Hub
hub_locations_ecdcAvailable locations in the ECDC Hub
hub_locations_flusightAvailable locations in the FluSight Hub
hub_targets_ecdcAvailable targets in the ECDC Hub
hub_targets_flusightAvailable targets in the FluSight Hub
hub_targets_usAvailable targets in the US Hub
join_with_hub_locationsAdd stored information about location name and population by...
load_forecast_files_repoRead in a set of forecast files from a repository without...
load_forecastsLoad all available forecasts submitted around forecast dates...
load_forecasts_local_zoltarLoad all available forecasts submitted on 'forecast_dates'...
load_forecasts_repoLoad all available forecasts submitted on 'forecast_dates'...
load_forecasts_zoltarLoad all available forecasts submitted on 'forecast_dates'...
load_from_coviddataload truth data from covidData
load_from_hub_repoload truth data from a local clone of forecast hub repo
load_latest_forecastsLoad covid forecasts from local hub repo or Zoltar. Return...
load_latest_forecasts_repoLoad the most recent forecasts of all that were submitted on...
load_latest_forecasts_zoltarLoad the most recent forecasts of all that were submitted on...
load_truthLoad truth data under multiple target variables from multiple...
name_to_fipsGet FIPS or CBSA codes from county or metropolitan area...
pivot_forecasts_widerReturn a data frame of forecasts with predictive quantiles in...
plot_forecastPlot forecasts and optional truth for only one selected...
plot_forecastsPlot forecasts and optional truth for only one selected...
preprocess_hospitalizationPreprocess raw hospitalization data into Cumulative/Incident...
preprocess_jhuPreprocess historical raw truth data from JHU CSSE into...
preprocess_nytimesPreprocess raw truth data from NYTimes into...
preprocess_visualization_truthPreprocess raw truth data from JHU CSSE into...
reformat_forecastsReformat forecast data frame returned from zoltar query This...
score_forecastsScore forecasts
setup_zoltar_connectionSet up Zoltar connection
reichlab/covidHubUtils documentation built on Feb. 6, 2024, 1:42 p.m.