View source: R/checkCompletion.R
This function takes three inputs: the amt output table, the (cleaned) raw survey data table, and a parameter to define how many un-rated sentences are acceptable (defaults to 2). For each response, the function computes how many unanswered questions that person had and marks the survey as complete or not based on that and the parameter. Then it joins that result, by completion code, to the AMT table.
1 | checkCompletion(amt, qt, n = 2)
|
amt |
The raw AMT output data frame. |
qt |
The (somewhat cleaned) Qualtrics output, after having passed through 'preprocessData()'. |
n |
The number of un-rated sentences acceptable in a "complete" survey. Default is 2, although settings on newer surveys to force answers to questions, this may actually be too liberal. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.