extract_data | R Documentation |
This extracts flusurvey data for a given number of surveys and years (all by default).
extract_data(data, surveys = "all", years = "all", join = TRUE, ...)
data |
either a (named) list of (annual, named) lists of surveys, or (much easier) a filename that contains said list. |
surveys |
the surveys to extract (e.g., "background", "symptom", "contact" or a combination thereof), "all" for all of surveys that can be found; note that any surveys that don't exist in all years will be dropped |
years |
the years to extract, "all" for all years |
join |
whether to join the data into one big data.table in the end |
... |
parameters to be passed to merge_data, especially 'clean' (see documentation of |
a data.table (if join
is TRUE) or a list of data.tables (if join
is FALSE) with the data
seb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.