RejectAssignment: Reject Assignment
Description
Reject a Worker's assignment (or multiple assignments) submitted for a HIT. Feedback should be provided for why an assignment was rejected.
Usage
RejectAssignment(assignments, feedback = NULL,
verbose = getOption('MTurkR.verbose', TRUE), ...)
Arguments
assignments
A character string containing an AssignmentId, or a vector of multiple character strings containing multiple AssignmentIds, to reject.
feedback
An optional character string containing any feedback for a worker. This must have length 1 or length equal to the number of workers.
verbose
Optionally print the results of the API request to the standard output. Default is taken from getOption('MTurkR.verbose', TRUE)
.
...
Additional arguments passed to request
.
Value
A data frame containing the list of AssignmentIds, feedback (if any), and whether or not each rejection request was valid.
Details
Reject assignments, by AssignmentId (as returned by GetAssignment
). More advanced functionality to quickly reject many or all assignments (ala ApproveAllAssignments
) is intentionally not provided.
RejectAssignments()
and reject()
are aliases.
Examples
Run this code# NOT RUN {
RejectAssignment(assignments="26XXH0JPPSI23H54YVG7BKLEXAMPLE")
# }
Run the code above in your browser using DataLab