Changelog
Source:NEWS.md
forecasttools 0.1.7
- New
ggplot2helper functions and custom geometric objects:sym_limits(),geom_path_point(),geom_line_point() - New plotting function for forecast evaluation:
plot_pred_obs_pointintervals() - New forecast scoring helper functions:
summarize_scores_with_baseline(),get_shared_forecasts(),get_subset_forecasts(),filter_to_shared_forecasts(),filter_to_subset_forecasts(). - New Hubverse to scorable table approach leveraging the hubverse “oracle output” target data format.
- Refactor of
data.cdc.govdata pull helper functions. Deprecation ofpull_nhsn()in favor of new functionpull_data_cdc_gov_dataset().
forecasttools 0.1.6
- New function:
modify_reference_date() - BREAKING CHANGE: Various epiweek/epiyear functions no longer default to the
MMWRepiweek standard and require the user to specify a standard explicitly. To restore previous behavior, setepiweek_standard = "MMWR"explicitly.
forecasttools 0.1.5
- BREAKING CHANGE:
get_hubverse_table()has been removed and replaced byget_hubverse_quantile_table(),get_flusight_hub_table()andget_covid_hub_table(). -
horizons_from_target_end_datesis now vectorized - New function:
hub_quantiles_to_median_qi()
forecasttools 0.1.4
- BREAKING CHANGE: Functions to prepare hubs for scoring (
hubverse_table_with_obs()andquantile_table_to_scorable()) now no longer assume that forecast tables contain a single target. This will break existing scoring workflows that use truth data without a target column. It can be addressed by setting theid_colsargumenthubverse_table_with_obs()orquantile_table_to_scorable()explicitly. - New function for calculating forecast horizons from target end dates:
horizons_from_target_end_dates() - New epiweek rounding functions:
floor_mmwr_epiweek,ceiling_mmwr_epiweek(),floor_isoweek(), andceiling_isoweek(). - Smaller-than-memory
parquetfile I/O now handled viananoparquet(previously handled viaarrow, reducingforecasttoolspackage weight and installation time.
forecasttools 0.1.3
- BREAKING CHANGE:
target_end_dates_from_horizons()andget_hubverse_table()now work with both daily and weekly horizons. To restore functionality of existing code, add the argumenthorizon_timescale = "weeks"to these functions.
forecasttools 0.1.2
- Adds optional epidate annotation to
daily_to_epiweekly() - Increases testing coverage
- Fixes bug in
pull_nhsn()so that ordering on multiple columns works as expected.
forecasttools 0.1.1
- Makes target data path configurable in
hub_to_scorable_quantiles() - Fixes small bugs.