RejectAssignment: Reject Assignment

RejectAssignmentR Documentation

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)
)

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).

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.

Value

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

Author(s)

Tyler Burleigh, Thomas J. Leeper

References

API Reference

See Also

ApproveAssignment

Examples


## Not run: 
RejectAssignment(assignments = "26XXH0JPPSI23H54YVG7BKLEXAMPLE")

## End(Not run)


pyMTurkR documentation built on May 29, 2024, 6:13 a.m.