Learn R Programming

EpiSignalDetection (version 0.1.2)

cleanAtlasExport: Clean the Atlas export dataframe

Description

Clean the Atlas data export dataframe before signal detection analysis (see importAtlasExport and online ECDC Atlas: http://atlas.ecdc.europa.eu/public/index.aspx)

Usage

cleanAtlasExport(x)

Arguments

x

dataframe, usually the ouput of the import function importAtlasExport(x)

Value

dataframe

Details

The function will:

  • Filter only on case based indicators i.e. 'Reported Cases"

  • Create four additional time variables to ease the analysis: TimeUnit ('Year', 'Month', 'Week'), TimeYear (xxxx), TimeMonth (xx) TimeWeek(xx)

  • Keep only variables of interest i.e. "HealthTopic", "Population", "Time", "RegionName", "NumValue"

See Also

importAtlasExport filterAtlasExport

Examples

Run this code
# NOT RUN {
dataset <- cleanAtlasExport( importAtlasExport(x = 'ECDC_surveillance_data_Anthrax.csv') )
# }
# NOT RUN {

# }

Run the code above in your browser using DataLab