Usage
ExtendHIT(hit = NULL, hit.type = NULL, add.assignments = NULL, add.seconds = NULL,
unique.request.token = NULL, keypair = credentials(),
print = getOption('MTurkR.print'), browser = getOption('MTurkR.browser'),
log.requests = getOption('MTurkR.log'), sandbox = getOption('MTurkR.sandbox'),
validation.test = getOption('MTurkR.test'))
Arguments
hit
An optional character string containing a HITId or a vector of character strings containing multiple HITIds.
hit.type
An optional character string containing a HITTypeId (or a vector of HITTypeIds).
add.assignments
An optional character string containing the number of assignmetns to add to the HIT. Must be between 1 and 1000000000.
add.seconds
An optional character string containing the amount of time to extend the HIT, in seconds (for example, returned by seconds
). Must be between 1 hour (3600 seconds) and 365 days. unique.request.token
An optional character string, included only for advanced users.
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
.
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
.