powered by
Clean the Atlas data export dataframe before signal detection analysis (see importAtlasExport and online ECDC Atlas: http://atlas.ecdc.europa.eu/public/index.aspx)
importAtlasExport
cleanAtlasExport(x)
dataframe, usually the ouput of the import function importAtlasExport(x)
importAtlasExport(x)
dataframe
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"
importAtlasExport filterAtlasExport
filterAtlasExport
# NOT RUN { dataset <- cleanAtlasExport( importAtlasExport(x = 'ECDC_surveillance_data_Anthrax.csv') ) # } # NOT RUN { # }
Run the code above in your browser using DataLab