Usage
ApproveAssignment( assignments, feedback = NULL, rejected = FALSE,
keypair = credentials(), print = FALSE, browser = FALSE,
log.requests = TRUE, sandbox = FALSE)
ApproveAllAssignments( hit = NULL, hit.type = NULL, feedback = NULL,
keypair = credentials(), print = FALSE,
log.requests = TRUE, sandbox = FALSE)
Arguments
assignments
A character string containing an AssignmentId, or a vector of multiple character strings containing multiple AssignmentIds, to approve.
hit
A character string containing a HITId all of whom's assignments are to be approved.
hit.type
A character string containing a HITTypeId all of whom's HITs' assignments are to be approved.
feedback
An optional character string containing any feedback for a worker. This must have length 1 or length equal to the number of workers. Maximum of 1024 characters. For ApproveAllAssignments
, must be length 1.
rejected
A logical indicating whether the assignment(s) had previously been rejected (default FALSE
). Approval of previously rejected assignments must be conducted separately from other approvals.
keypair
A two-item character vector containing an AWS Access Key ID in the first position and the corresponding Secret Access Key in the second position. Set default with credentials
. print
Optionally print the results of the API request to the standard output. Default is TRUE
.
browser
Optionally open the request in the default web browser, rather than opening in R. Default is FALSE
.
log.requests
A logical specifying whether API requests should be logged. Default is TRUE
. See readlogfile
for details. sandbox
Optionally execute the request in the MTurk sandbox rather than the live server. Default is FALSE
.