Description Usage Arguments Details Value See Also Examples
View source: R/internal_functions.R
Clean the Atlas data export dataframe before signal detection analysis
(see importAtlasExport
and online ECDC Atlas:
http://atlas.ecdc.europa.eu/public/index.aspx)
1 |
x |
dataframe, usually the ouput of the import function |
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"
dataframe
importAtlasExport
filterAtlasExport
1 2 3 4 | ## Not run:
dataset <- cleanAtlasExport( importAtlasExport(x = 'ECDC_surveillance_data_Anthrax.csv') )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.