Description Usage Arguments Value See Also Examples
Function returning the disease-specific PNG map previously created
and stored in a specific folder (see pathPNG
argument) and
that will be included in the epidemiological report at the bookmark location
of the template report, depending of the type of map.
Three type of maps can be included in the report:
Bookmark 'MAP_NB'
: Distribution of cases by country.
An additional caption will be included at the location of the bookmark 'MAP_NB_CAPTION'
.
Bookmark 'MAP_RATE'
: Distribution of cases
per 100 000 population by country. An additional caption will be included
at the location of the bookmark 'MAP_RATE_CAPTION'
.
Bookmark 'MAP_ASR'
: Distribution of cases using
age-strandardised rates per 100 000 population by country.
An additional caption will be included at the location of the bookmark 'MAP_ASR_CAPTION'
.
(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 | getMap(
disease = "DENGUE",
year = 2019,
reportParameters = EpiReport::AERparams,
index = 1,
pathPNG = system.file("maps", package = "EpiReport"),
doc
)
|
disease |
character string, disease code (default |
year |
numeric, year to produce the map for (default |
reportParameters |
dataframe, dataset including the required parameters
for the map and report production (default |
index |
integer, figure number |
pathPNG |
character string, full path to the folder containing the maps in PNG
(default 'maps' folder included in the package |
doc |
'Word' document (see |
'Word' doc an image preview
Global function for the full epidemilogical report: getAER
Required Packages: officer
Internal functions: includeMap
previewMap
Default datasets: AERparams
1 2 3 4 5 6 | # --- Preview of the PNG map using the default Dengue dataset
getMap()
# --- Plot using external PNG image
# --- 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.