Usage
GetBonuses(assignment = NULL, hit = NULL, hit.type = NULL, return.all = TRUE,
pagenumber = "1", pagesize = "100", keypair = credentials(),
print = TRUE, log.requests = TRUE, sandbox = FALSE,
return.bonus.dataframe = TRUE)
Arguments
assignment
An optional character string containing an AssignmentId whose bonuses should be returned.
hit
An optional character string containing a HITId whose bonuses should be returned.
hit.type
An optional character string containing a HITTypeId whose bonuses should be returned.
return.all
A logical indicating whether all HITs (as opposed to a specified page of the search results) should be returned. Default is TRUE
.
pagenumber
An optional character string indicating which page of search results should be returned. Most users can ignore this.
pagesize
An optional character string indicating how many search results should be returned by each request, between 1 and 100. Most users can ignore this.
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
.
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.bonus.dataframe
A logical specifying whether to return the Bonus dataframe.