Description Usage Arguments Value See Also Examples
View source: R/AER_seasonality_graph.R
Function returning the plot describing the seasonality of the disease
that will be included in the epidemiological report at the bookmark location
'TS_SEASON'
of the template report.
The graph includes the distribution of cases at EU/EEA level, by month,
over the past five years, with:
The number of cases by month in the reference year (green solid line)
The mean number of cases by month in the four previous years (grey dashed line)
The minimum number of cases by month in the four previous years (grey area)
The maximum number of cases by month in the four previous years (grey area)
(see ECDC reports https://www.ecdc.europa.eu/en/all-topics-z/surveillance-and-disease-data/annual-epidemiological-reports-aers)
1 2 3 4 5 6 7 8 9 | getSeason(
x = EpiReport::DENGUE2019,
disease = "DENGUE",
year = 2019,
reportParameters = EpiReport::AERparams,
MSCode = EpiReport::MSCode,
index = 1,
doc
)
|
x |
dataframe, raw disease-specific dataset (see specification of the
dataset in the package vignette with |
disease |
character string, disease code (default |
year |
numeric, year to produce the graph for (default |
reportParameters |
dataframe, dataset including the required parameters
for the graph and report production (default |
MSCode |
dataframe, correspondence table of GeoCode names and codes
(default |
index |
integer, figure number |
doc |
'Word' document (see |
'Word' doc or a ggplot2 object
Global function for the full epidemilogical report: getAER
Required Packages: ggplot2
officer
Internal functions: plotSeasonality
Default datasets: AERparams
MSCode
1 2 3 4 5 6 | # --- Plot using the default dataset
getSeason()
# --- Plot using external dataset
# --- Please see examples in the vignette
browseVignettes(package = "EpiReport")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.