Learn R Programming

EpiReport (version 1.0.4)

getTemplate: Get epidemiological report (empty) template

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/publications-data/monitoring/all-annual-epidemiological-reports)

Usage

getTemplate(output_path)

Value

A 'Word' document

Arguments

output_path

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

See Also

getAER

Examples

Run this code

if (FALSE) {
# --- Export the template in the default folder: working directory
getTemplate()

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


Run the code above in your browser using DataLab