Create epicurves, epigantt charts, and diverging bar charts using 'ggplot2'. Prepare data for visualisation or other reporting for infectious disease surveillance and outbreak investigation (time series data). 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', (D) labelling of the last value of a time-series. 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>).
Version: | 0.5.0 |
Depends: | R (≥ 4.2.0) |
Imports: | cli, dplyr, forcats, ggplot2 (≥ 3.5.0), glue, ISOweek, legendry, lubridate, rlang, scales (≥ 1.4.0), stringr, tidyr, tidyselect |
Suggests: | ggrepel, Hmisc, knitr, outbreaks, plotly, rmarkdown, spelling, testthat (≥ 3.0.0), vdiffr (≥ 1.0.8) |
Published: | 2025-07-01 |
Author: | Alexander Bartel |
Maintainer: | Alexander Bartel <alexander.bartel at fu-berlin.de> |
BugReports: | https://github.com/biostats-dev/ggsurveillance/issues |
License: | GPL (≥ 3) |
URL: | https://ggsurveillance.biostats.dev, https://github.com/biostats-dev/ggsurveillance |
NeedsCompilation: | no |
Language: | en-GB |
Materials: | README NEWS |
In views: | Epidemiology |
CRAN checks: | ggsurveillance results |
Package source: | ggsurveillance_0.5.0.tar.gz |
Windows binaries: | r-devel: ggsurveillance_0.4.0.zip, r-release: ggsurveillance_0.4.0.zip, r-oldrel: ggsurveillance_0.4.0.zip |
macOS binaries: | r-release (arm64): ggsurveillance_0.4.0.tgz, r-oldrel (arm64): ggsurveillance_0.4.0.tgz, r-release (x86_64): ggsurveillance_0.4.0.tgz, r-oldrel (x86_64): ggsurveillance_0.4.0.tgz |
Old sources: | ggsurveillance archive |
Please use the canonical form https://CRAN.R-project.org/package=ggsurveillance to link to this page.