Learn R Programming

pyMTurkR (version 1.1.6)

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,
  verbose = getOption("pyMTurkR.verbose", TRUE)
)

Value

A data frame containing the list of AssignmentIds, feedback (if any), and whether or not each rejection request was valid.

Arguments

assignments

A character string containing an AssignmentId, or a vector of multiple character strings containing multiple AssignmentIds, to reject.

feedback

A 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('pyMTurkR.verbose', TRUE).

Author

Tyler Burleigh, Thomas J. Leeper

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.

References

API Reference

See Also

ApproveAssignment

Examples

Run this code

if (FALSE) {
RejectAssignment(assignments = "26XXH0JPPSI23H54YVG7BKLEXAMPLE")
}

Run the code above in your browser using DataLab