cleanECDCTable {EpiReport} | R Documentation |
Cleaning the final table
Description
Cleaning the final table: identifying missing reports with '-'
,
replacing the Member State codes with Member State names (see correspondence
table MSCode
), identifying not reporting Member States with '.'
Usage
cleanECDCTable(
x,
Country = EpiReport::MSCode$Country,
GeoCode = EpiReport::MSCode$GeoCode
)
Arguments
x |
dataframe, dataset to clean |
Country |
character vector, full names of the countries /
Member States (e.g. Austria, Belgium, etc.) that will replace the GeoCodes
included the x dataframe (Default |
GeoCode |
character vector, corresponding GeoCode of each Member State
(e.g. AT, BE, etc.) to replace with the country full names (Default |
Value
cleaned ECDC dataframe
See Also
Global function: getTableByMS
Default dataset MSCode
[Package EpiReport version 1.0.2 Index]