| getTableByMS | R Documentation |
Function returning the table ('flextable') that will be included
in the epidemiological report at the bookmark location 'TABLE1'
of the template report. An additional caption will be included at the location
of the bookmark 'TABLE1_CAPTION'.
(see Table 1 of the ECDC annual reports
https://www.ecdc.europa.eu/en/publications-data/monitoring/all-annual-epidemiological-reports)
getTableByMS(
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 table for (default |
reportParameters |
dataframe, dataset including the required parameters for the report
production (default |
MSCode |
dataframe, correspondence table of GeoCode names and codes
(default |
index |
integer, figure number |
doc |
'Word' document (see |
The current version of the 'EpiReport' package includes three types of table
(see detailed specification of the tables in the
package vignette with browseVignettes(package = "EpiReport")):
COUNT - Table presenting the number of cases by Member State (GeoCode) over a 5-year period;
RATE - Table presenting the number of cases and rates by Member State (GeoCode) over a 5-year period;
ASR - Table presenting the number of cases and rates by Member State (GeoCode) over a 5-year period,
including age-standardised rates for the most recent year.
'Word' doc or flextable object (see 'flextable' package)
Global function for the full epidemiological report: getAER
Required Packages: flextable cursor_bookmark
Internal functions: shapeECDCFlexTable cleanECDCTable
Default datasets: AERparams MSCode
# --- Draft the table using the default Dengue dataset
getTableByMS()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.