Description Usage Arguments Value Examples
View source: R/create_approve_col.R
Update the approve column if keep is in the Answer.surveycode and if the Answer.surverycode is not in the fail vector (failed attention check)
1 | create_approve_col(df, keep, fail)
|
df |
the batch data set provided by amazon |
keep |
the keep character vector that gets returned from the discard_list function |
fail |
character vector of participants that failed the attention check |
a data frame with the approve column manipulated: will have X is valid, empty character if not
1 | clean_batch <- create_approve_col(batch, keep = keep, fail = failed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.