| cleanECDCTable | R Documentation |
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 '.'
cleanECDCTable( x, Country = EpiReport::MSCode$Country, GeoCode = EpiReport::MSCode$GeoCode )
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 |
cleaned ECDC dataframe
Global function: getTableByMS
Default dataset MSCode