Usage
GetHIT(hit, response.group = NULL, keypair = credentials(),
print = getOption('MTurkR.print'),
browser = getOption('MTurkR.browser'),
log.requests = getOption('MTurkR.log'),
sandbox = getOption('MTurkR.sandbox'),
return.hit.dataframe = TRUE, return.qual.dataframe = TRUE,
validation.test = getOption('MTurkR.test'))
HITStatus(hit = NULL, hit.type = NULL, keypair = credentials(),
print = getOption('MTurkR.print'),
log.requests = getOption('MTurkR.log'),
sandbox = getOption('MTurkR.sandbox'))
Arguments
hit
An optional character string specifying the HITId of the HIT to be retrieved. Must specify hit
xor hit.type
.
hit.type
An optional character string specifying the HITTypeId (or a vector of HITTypeIds) of the HIT(s) to be retrieved. Must specify hit
xor hit.type
.
response.group
An optional character string (or vector of character strings) specifying what details of each HIT to return of: Request, Minimal, HITDetail, HITQuestion, HITAssignmentSummary
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
.
return.hit.dataframe
A logical indicating whether the dataframe of HITs should be returned. Default is TRUE
.
return.qual.dataframe
A logical indicating whether the list of each HIT's QualificationRequirements (stored as dataframes in that list) should be returned. Default is TRUE
.
validation.test
A logical specifying whether only the pre-request checks should be conducted and the request URL returned (without executing the request). Default is FALSE
.