View source: R/incidence_data_loader.R
complete_intake | R Documentation |
Complete intake for a survey using intake from the past seasons
complete_intake(
data,
intake,
intake.columns,
geo = NULL,
max.year = NA,
fix.timestamp = TRUE
)
data |
data.frame() survey data with all participants should have at least (timestamp, person_id) columns. For example weekly survey data |
intake |
data.frame() intake survey data loaded on the same period as data |
intake.columns |
columns to load with intake |
geo |
geo levels to load with intake, list of names of levels to load see |
max.year |
maximum number of year to get data before the minimal intake date |
fix.timestamp |
logical. if TRUE, imported intake will have timestamp set to minimal date of |
intake with extra intake loaded from previous season
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.