cleanAtlasExport {EpiSignalDetection} | R Documentation |
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 |
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"
Value
dataframe
See Also
importAtlasExport
filterAtlasExport
Examples
## Not run:
dataset <- cleanAtlasExport( importAtlasExport(x = 'ECDC_surveillance_data_Anthrax.csv') )
## End(Not run)
[Package EpiSignalDetection version 0.1.2 Index]