Learn R Programming

MTurkR (version 0.2)

RejectQualification: Reject a Worker's Qualification Request

Description

Reject a Worker's request for a Qualification.

Usage

RejectQualification(qual.request, reason = NULL, 
					keypair = credentials(), print = TRUE, browser = FALSE, 
					log.requests = TRUE, sandbox = FALSE)

Arguments

qual.request
A character string containing a QualificationRequestId, or a vector of character strings containing multiple QualificationRequestIds (e.g., as returned by GetQualificationRequests).
reason
An optional character string, or vector of character strings of length equal to length of the qual.requests parameter, supplying each worker with a reason for rejecting their request for the Qualification. Workers will see this message. Maxim
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.

Value

  • A dataframe containing the QualificationRequestId, reason for rejection (if applicable), and whether each request was valid.

Details

Qualifications are publicly visible to workers on the MTurk website and workers can request Qualifications (e.g., when a HIT requires a QualificationType that they have not been assigned). QualificationRequests can be retrieved via GetQualificationRequests. This function rejects specified qualification requests. RejectQualifications() and rejectrequest() are aliases.

References

http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_RejectQualificationRequestOperation.html{API Reference}

See Also

GetQualificationRequests GrantQualification

Examples

Run this code
RejectQualification("2YCIA0RYNJ9262B1D82MPTUEXAMPLE",reason="I am not currently granting this QualificationType.")

Run the code above in your browser using DataLab