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
)
cleaned ECDC dataframe
dataframe, dataset to clean
character vector, full names of the countries /
Member States (e.g. Austria, Belgium, etc.) that will replace the GeoCodes
included the x dataframe (Default MSCode$Country
)
character vector, corresponding GeoCode of each Member State
(e.g. AT, BE, etc.) to replace with the country full names (Default MSCode$GeoCode
)
Global function: getTableByMS
Default dataset MSCode