checkCompletion: Check survey completion and annotate the AMT table

Description Usage Arguments

View source: R/checkCompletion.R

Description

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.

Usage

1
checkCompletion(amt, qt, n = 2)

Arguments

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.


kaijagahm/ygdpAddSurvey documentation built on July 22, 2021, 2:11 p.m.