cleanECDCTable: Cleaning the final table

Description Usage Arguments Value See Also

View source: R/AER_table.R

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

1
2
3
4
5
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 MSCode$Country)

GeoCode

character vector, corresponding GeoCode of each Member State (e.g. AT, BE, etc.) to replace with the country full names (Default MSCode$GeoCode)

Value

cleaned ECDC dataframe

See Also

Global function: getTableByMS
Default dataset MSCode


EpiReport documentation built on July 5, 2021, 5:06 p.m.