Package: ggsurveillance 0.1.2

Alexander Bartel

ggsurveillance: Tools for Outbreak Investigation/Infectious Disease Surveillance

Create epicurves or epigantt charts in 'ggplot2'. Prepare data for visualisation or other reporting for infectious disease surveillance and outbreak investigation. Includes tidy functions to solve date based transformations for common reporting tasks, like (A) seasonal date alignment for respiratory disease surveillance, (B) date-based case binning based on specified time intervals like isoweek, epiweek, month and more, (C) automated detection and marking of the new year based on the date/datetime axis of the 'ggplot2'. An introduction on how to use epicurves can be found on the US CDC website (2012, <https://www.cdc.gov/training/quicklearns/epimode/index.html>).

Authors:Alexander Bartel [aut, cre]

ggsurveillance_0.1.2.tar.gz
ggsurveillance_0.1.2.zip(r-4.5)ggsurveillance_0.1.2.zip(r-4.4)ggsurveillance_0.1.2.zip(r-4.3)
ggsurveillance_0.1.2.tgz(r-4.5-any)ggsurveillance_0.1.2.tgz(r-4.4-any)ggsurveillance_0.1.2.tgz(r-4.3-any)
ggsurveillance_0.1.2.tar.gz(r-4.5-noble)ggsurveillance_0.1.2.tar.gz(r-4.4-noble)
ggsurveillance_0.1.2.tgz(r-4.4-emscripten)ggsurveillance_0.1.2.tgz(r-4.3-emscripten)
ggsurveillance.pdf |ggsurveillance.html
ggsurveillance/json (API)
NEWS

# Install 'ggsurveillance' in R:
install.packages('ggsurveillance', repos = c('https://biostats-dev.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/biostats-dev/ggsurveillance/issues

Pkgdown site:https://ggsurveillance.biostats.dev

Datasets:

On CRAN:

epidemiologyinfectious-disease-surveillanceinfectious-diseasesoutbreaks

4.78 score 1 stars 305 downloads 17 exports 45 dependencies

Last updated 9 days agofrom:a63d97fc79. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 11 2025
R-4.5-winOKFeb 11 2025
R-4.5-macOKFeb 11 2025
R-4.5-linuxOKFeb 11 2025
R-4.4-winOKFeb 11 2025
R-4.4-macOKFeb 11 2025
R-4.3-winOKFeb 11 2025
R-4.3-macOKFeb 11 2025

Exports:align_and_bin_dates_seasonalalign_dates_seasonalcreate_agegroupsexpand_countsgeom_epicurvegeom_epiganttgeom_hline_yeargeom_vline_yeargeometric_meanscale_x_cases_5erscale_y_cases_5erstat_bin_datestat_date_countStatBinDateStatDateCountStatEpicurveuncount

Dependencies:anytimeBHclicolorspacecpp11dplyrellipsisfansifarverforcatsgenericsggplot2gluegtableisobandISOweeklabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerRcpprlangscalesstringistringrtibbletidyrtidyselecttimechangetsibbleutf8vctrsviridisLitewithr

EpiCurves: epicurves in ggplot with ggsurveillance

Rendered fromEpicurves_with_ggsurveillance.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2025-02-02
Started: 2025-01-25

EpiGantt: epigantt charts in ggplot with ggsurveillance

Rendered fromEpigantt_with_ggsurveillance.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2025-02-02
Started: 2025-01-25

Seasonal Plots: Align case data for seasonal analysis

Rendered fromalign_dates_seasonal.Rmdusingknitr::rmarkdownon Feb 11 2025.

Last update: 2025-02-02
Started: 2025-01-25