getTemplate: Get epidemiological report (empty) template

Description Usage Arguments Value See Also Examples

View source: R/AER_report.R

Description

Function to export the generic 'Microsoft Word' empty template (included in the 'EpiReport' package) used to produce the epidemiological report similar to the ECDC Annual Epidemiological Report (AER). The modified version of the template can then be used to produce the final epidemiological report using getAER(template = 'NewTemplate.docx', ...)
(see the package vignette "The Epidemiological Report Package" with browseVignettes("EpiReport"))
(see ECDC annual epidemilogical reports https://www.ecdc.europa.eu/en/all-topics-z/surveillance-and-disease-data/annual-epidemiological-reports-aers)

Usage

1
getTemplate(output_path)

Arguments

output_path

character string, the full path where to create the 'Word' output. Defaut location will be the current working directory (default getwd())

Value

A 'Word' document

See Also

getAER

Examples

1
2
3
4
5
6
7
8
## Not run: 
# --- Export the template in the default folder: working directory
getTemplate()

# --- Or specify the full path
getTemplate(output_path = getwd())

## End(Not run)

EpiReport documentation built on July 5, 2021, 5:06 p.m.