Package: baselinenowcast 0.2.1000


Kaitlyn Johnson
baselinenowcast: Baseline Nowcasting for Right-Truncated Epidemiological Data
Nowcasting right-truncated epidemiological data is critical for timely public health decision-making, as reporting delays can create misleading impressions of declining trends in recent data. This package provides nowcasting methods based on using empirical delay distributions and uncertainty from past performance. It is also designed to be used as a baseline method for developers of new nowcasting methods. For more details on the performance of the method(s) in this package applied to case studies of COVID-19 and norovirus, see our recent paper Johnson (2025) <doi:10.12688/wellcomeopenres.25027.2>. The package supports standard data frame inputs with reference date, report date, and count columns, as well as the direct use of reporting triangles, and is compatible with 'epinowcast' objects. Alongside an opinionated default workflow, it has a low-level pipe-friendly modular interface, allowing context-specific workflows. It can accommodate a wide spectrum of reporting schedules, including mixed patterns of reference and reporting (daily-weekly, weekly-daily). It also supports sharing delay distributions and uncertainty estimates between strata, as well as custom uncertainty models and delay estimation methods.
Authors:
baselinenowcast_0.2.1000.tar.gz
baselinenowcast_0.2.1000.zip(r-4.7)baselinenowcast_0.2.1000.zip(r-4.6)baselinenowcast_0.2.1000.zip(r-4.5)
baselinenowcast_0.2.1000.tgz(r-4.6-any)baselinenowcast_0.2.1000.tgz(r-4.5-any)
baselinenowcast_0.2.1000.tar.gz(r-4.7-any)baselinenowcast_0.2.1000.tar.gz(r-4.6-any)
baselinenowcast_0.2.1000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
baselinenowcast/json (API)
| # Install 'baselinenowcast' in R: |
| install.packages('baselinenowcast', repos = c('https://epinowcast.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/epinowcast/baselinenowcast/issues
Pkgdown/docs site:https://baselinenowcast.epinowcast.org
- example_downward_corr_rt - Example reporting triangle with downward corrections
- example_reporting_triangle - Simple example reporting triangle for demonstrations
- germany_covid19_hosp - Incident COVID-19 hospitalisations indexed by the date of positive test (reference date) and report date from Germany in 2021 and 2022.
- syn_nssp_df - Synthetic data containing daily case counts by reference and report date
- syn_nssp_line_list - A synthetic dataset resembling line-list (each row is a patient) data from the United States' National Syndromic Surveillance System (NSSP) accessed via the Essence platform. All entries are synthetic, formatted to look as close to the real raw data as possible.
Last updated from:afcf4a3d7a (on v0.2.1). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 289 | ||
| source / vignettes | OK | 463 | ||
| linux-release-x86_64 | OK | 288 | ||
| macos-release-arm64 | OK | 215 | ||
| macos-oldrel-arm64 | OK | 202 | ||
| windows-devel | OK | 326 | ||
| windows-release | OK | 282 | ||
| windows-oldrel | OK | 297 | ||
| wasm-release | OK | 139 |
Exports:allocate_reference_timesapply_delayapply_reporting_structureapply_reporting_structuresas_ChainLadder_triangleas_reporting_triangleas_reviser_vintagesassert_baselinenowcast_dfassert_reporting_trianglebaselinenowcastcombine_obs_with_predestimate_and_apply_delayestimate_and_apply_delaysestimate_and_apply_uncertaintyestimate_delayestimate_uncertaintyestimate_uncertainty_retrofit_by_horizonfit_nbget_delays_from_datesget_delays_unitget_max_delayget_mean_delayget_quantile_delayget_reference_datesget_report_datesget_reporting_structureis_reporting_trianglenew_baselinenowcast_dfnew_reporting_trianglepreprocess_negative_valuessample_nbsample_nowcastsample_nowcastssample_predictionsample_predictionstruncate_to_datetruncate_to_delaytruncate_to_quantiletruncate_to_rowtruncate_to_rowsvalidate_reporting_triangle
Dependencies:backportscheckmatecligluelifecyclemagrittrpurrrrlangvctrs
Last update: 2026-06-16
Started: 2026-06-16
Last update: 2026-06-16
Started: 2025-01-29
Last update: 2026-06-16
Started: 2025-10-08
Last update: 2026-01-27
Started: 2025-11-13
Last update: 2025-12-22
Started: 2025-03-04
Last update: 2025-07-28
Started: 2025-07-01