Tools for Outbreak Investigation/Infectious Disease Surveillance
Align dates for seasonal comparison
Aggregate data by time periods
Create Age Groups from Numeric Values
Create diverging bar charts, diverging area charts or other plots for ...
Create a ranged bar chart
Create an epidemic curve plot or bin/count observations by date period...
Epi Gantt Chart: Visualize Epidemiological Time Intervals
Automatically create lines at the turn of every year
Compute a Geometric Mean
Nested axis guide for date scales
Date labeller
Format numbers as power-of-10 R expressions
Skip labels on an axis
Diverging continuous scales for diverging bar charts with symmetrical ...
Continuous x-axis and y-axis scale for (case) counts
Reversed discrete scale for 'ggplot2'
Add labels or points to the last value of a line chart
Quickly adjust the legend position
Quickly remove the minor lines of the panel grid
Rotate axis labels
Duplicate rows according to a weighting variable
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>).
Useful links