Description Usage Arguments Value
View source: R/MTScoreAssignments.R
This function fetches the count of assignments a worker has completed from MTurk, adds a counter for newly completed assignments, scores assignments, and posts the new counts and scores to the appropriate qualifications.
1 2 3 4 5 6 | MTScoreAssignments(results = NULL, answers = NULL,
howToScore = "relativeTotal", scoreQual = NULL, counterQual = NULL,
updateQuals = FALSE, pointsPerHIT = 10000, pointsPerQ = 1,
questionNames = NULL, scoreNAsAs = "wrong", NAValue = NULL,
approve = FALSE, feedback = "Thank you.", outType = "sub",
sandbox = TRUE, verbose = FALSE)
|
results |
A results object returned from MTurk. |
answers |
A |
howToScore |
String with a value of |
scoreQual |
The qualification ID string that identifies the score qualification for this HIT. |
counterQual |
The qualification ID string that identifies the counter qualification for this HIT. |
updateQuals |
Logical for whether to update qualification values after scoring assignments. |
pointsPerHIT |
How many points each assignment is worth. Default is 10,000 because MTurk does not take decimal values. This is equivalent to percent with 2 decimal places. |
pointsPerQ |
A number or vector of numbers of length of |
questionNames |
Columns names of questions to be compared between results
and answers. If the columns names differ between the results and answers,
|
scoreNAsAs |
How to score NAs; possible values:
Needed for call to |
NAValue |
The value to replace NAs with. Needed for call to |
approve |
Logical. Whether to approve assignments after counting. This will return the |
feedback |
Text to send to the worker when approved. Default is |
outType |
Either set to |
sandbox |
Logical. Whether to use the sandbox ( |
verbose |
Logical. Whether to print additional messages or not. |
Returns the scored subset of the inputted results
object appended with scores.
If approve = TRUE
, it will change the "AssignmentStatus" to "ApprovedLocal".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.