
ApproveAssignment(assignments, feedback = NULL, rejected = FALSE,
verbose = getOption('MTurkR.verbose', TRUE), ...)
ApproveAllAssignments(hit = NULL, hit.type = NULL, annotation = NULL,
feedback = NULL,
verbose = getOption('MTurkR.verbose', TRUE), ...)
hit
xor hit.type
xor annotation
.hit
xor hit.type
xor annotation
.RequesterAnnotation
field for a batch of HITs. This can be used to approve all assignments for all HITs from a ApproveAllAssignments
, must be length 1.FALSE
). Approval of previously rejected assignments must be conducted separately from other approvals.getOption('MTurkR.verbose', TRUE)
.request
.GetAssignment
or by HITId or HITTypeId. Must specify assignments
xor hit
xor hit.type
. ApproveAllAssignments
approves all assignments of a given HIT or HITType without first having to perform GetAssignment
.
ApproveAssignments()
and approve()
are aliases for ApproveAssignment
. approveall()
is an alias for ApproveAllAssignments
.RejectAssignment
# Approve one assignment
ApproveAssignment(assignments = "26XXH0JPPSI23H54YVG7BKLEXAMPLE")
# Approve multiple assignments with the same feedback
ApproveAssignment(assignments = c("26XXH0JPPSI23H54YVG7BKLEXAMPLE1",
"26XXH0JPPSI23H54YVG7BKLEXAMPLE2"),
feedback = "Great work!")
# Approve all assignments for a given HIT
ApproveAllAssignments(hit = "2MQB727M0IGF304GJ16S1F4VE3AYDQ")
# Approve all assignments for a given HITType
ApproveAllAssignments(hit.type = "2FFNCWYB49F9BBJWA4SJUNST5OFSOW")
# Approve all assignments for a given batch from the RUI
ApproveAllAssignments(annotation="BatchId:78382;")
Run the code above in your browser using DataLab