Package: baselinenowcast 0.2.0


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 at <https://wellcomeopenresearch.org/articles/10-614>. 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.0.tar.gz
baselinenowcast_0.2.0.zip(r-4.7)baselinenowcast_0.2.0.zip(r-4.6)baselinenowcast_0.2.0.zip(r-4.5)
baselinenowcast_0.2.0.tgz(r-4.6-any)baselinenowcast_0.2.0.tgz(r-4.5-any)
baselinenowcast_0.2.0.tar.gz(r-4.7-any)baselinenowcast_0.2.0.tar.gz(r-4.6-any)
baselinenowcast_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
baselinenowcast/json (API)
NEWS
| # 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 - A synthetic dataset containing the number of incident cases indexed by reference date and report date. While data of this form could be from any source, this data is meant to represent the output of pre-processing the syn_nssp_line_list dataset, which is a synthetic patient-level line list data from the United State's National Syndromic Surveillance System (NSSP).
- 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:cc398eb63c (on v0.2.0). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 279 | ||
| source / vignettes | OK | 246 | ||
| linux-release-x86_64 | OK | 266 | ||
| macos-release-arm64 | OK | 326 | ||
| macos-oldrel-arm64 | OK | 346 | ||
| windows-devel | OK | 255 | ||
| windows-release | OK | 314 | ||
| windows-oldrel | OK | 308 | ||
| wasm-release | OK | 131 |
Exports:allocate_reference_timesapply_delayapply_reporting_structureapply_reporting_structuresas_ChainLadder_triangleas_reporting_triangleassert_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_delaytruncate_to_quantiletruncate_to_rowtruncate_to_rowsvalidate_reporting_triangle
Dependencies:backportscheckmatecligluelifecyclemagrittrpurrrrlangvctrs
Getting Started with baselinenowcast
Rendered frombaselinenowcast.Rmdusingknitr::rmarkdownon May 05 2026.Last update: 2026-01-15
Started: 2025-01-29
Mathematical methods for baselinenowcast
Rendered frommodel_definition.Rmdusingknitr::rmarkdownon May 05 2026.Last update: 2025-12-22
Started: 2025-03-04
Modular workflow demonstration
Rendered frommodular_workflow.Rmdusingknitr::rmarkdownon May 05 2026.Last update: 2026-01-27
Started: 2025-11-13
Nowcasting nomenclature
Rendered fromnomenclature.Rmdusingknitr::rmarkdownon May 05 2026.Last update: 2025-07-28
Started: 2025-07-01
Nowcasting syndromic surveillance system data: a case study applied to the U.S. National Syndromic Surveillance Program (NSSP) data
Rendered fromnssp_nowcast.Rmdusingknitr::rmarkdownon May 05 2026.Last update: 2026-01-29
Started: 2025-10-08