Learn R Programming

⚠️There's a newer version (1.0.4) of this package.Take me there.

'EpiReport' package

European Centre for Disease Prevention and Control (ECDC)

Description

The EpiReport package allows the user to draft an epidemiological report similar to the ECDC Annual Epidemiological Reports (see https://ecdc.europa.eu/en/annual-epidemiological-reports) in Microsoft Word format for a given disease getAER().

Through standalone functions, the package is specifically designed to generate each disease-specific output presented in these reports.

The package includes:

  • Table with the distribution of cases by Member State

over the last five years getTableByMS()

  • Seasonal plot with the distribution of cases at EU/EEA level,

by month, over the past five years getSeason()

  • Trend plot with the trend and number of cases at EU/EEA level, by month,

over the past five years getTrend()

  • Age and gender bar graph with the distribution of cases at EU/EEA level

getAgeGender()

Two types of datasets can be used:

  • The default dataset included in the EpiReport package which includes

Salmonellosis data for 2012-2016: EpiReport::SALM2016;

  • Any dataset specified as described in the package vignette.

Copy Link

Version

Install

install.packages('EpiReport')

Monthly Downloads

536

Version

1.0.2

License

EUPL

Maintainer

Lore Merdrignac

Last Published

July 5th, 2021

Functions in EpiReport (1.0.2)

body_replace_gg_at_bkm

Replace a plot at a bookmark location
SALM2016

Dataset including Salmonellosis data for 2012-2016
getAgeGender

Get disease-specific age and gender bar graph
EcdcColors

Colour palettes following the March 2018 ECDC guidelines for presentation of surveillance data
getMap

Get disease-specific map: distribution of cases by Member State
MSCode

Dataset correspondence table between country names and country code
includeMap

Including PNG map in the 'Microsoft Word' template
orderQuasinum

Order 'quasinumerical' categorical vectors (increasing order)
cleanECDCTable

Cleaning the final table
getSeason

Get disease-specific seasonality graph: distribution of cases by month
cleanMeasureCode

Clean the MeasureCode variable
getTableByMS

Get disease-specific table: distribution of cases by Member State (GeoCode)
plotBar

Bar graph
getTrend

Get disease-specific trend plot: trend and number of cases by month
getTemplate

Get epidemiological report (empty) template
plotTS

Time series plot
plotBarGrouped

Grouped bar graph
plotAge

Age bar graph
plotAgeGender

Age and Gender bar graph
plotTS12MAvg

Time series with 12-month moving average
toCapTitle

Capitalise first letter
shapeECDCFlexTable

Shaping the final table (layout, title, color, font)
plotPie

Pie chart
plotBarH

Horizontal bar graph
plotBarGroupedH

Horizontal grouped bar graph
plotSeasonality

Seasonality line graph
previewMap

Previewing the PNG map
plotTSGrouped

Multiple time series plot
filterDisease

Filter disease parameters
getAER

Get full disease-specific epidemiological report
AERparams

Dataset describing the parameters for the epidemiological report production
DENGUE2019

Dataset including Dengue data for 2015-2019