GetBonuses {pyMTurkR} | R Documentation |
Get Bonus Payments
Description
Get details of bonuses paid to workers, by HIT, HITType, Assignment, or Annotation.
Usage
GetBonuses(
assignment = NULL,
hit = NULL,
hit.type = NULL,
annotation = NULL,
results = as.integer(100),
pagetoken = NULL,
verbose = getOption("pyMTurkR.verbose", TRUE)
)
Arguments
assignment |
An optional character string containing an AssignmentId
whose bonuses should be returned. Must specify |
hit |
An optional character string containing a HITId whose bonuses
should be returned. Must specify |
hit.type |
An optional character string containing a HITTypeId (or a
vector of HITTypeIds) whose bonuses should be returned. Must specify
|
annotation |
An optional character string specifying the value of the
|
results |
An optional character string indicating how many results to fetch per page. Must be between 1 and 100. Most users can ignore this. |
pagetoken |
An optional character string indicating which page of search results to start at. Most users can ignore this. |
verbose |
Optionally print the results of the API request to the
standard output. Default is taken from |
Details
Retrieve bonuses previously paid to a specified HIT, HITType, Assignment, or Annotation.
bonuses()
, getbonuses()
, ListBonusPayments()
and
listbonuspayments()
are aliases.
Value
A data frame containing the details of each bonus, specifically: AssignmentId, WorkerId, Amount, Reason, and GrantTime.
Author(s)
Tyler Burleigh, Thomas J. Leeper
References
See Also
Examples
## Not run:
# Get bonuses for a given assignment
GetBonuses(assignment = "26XXH0JPPSI23H54YVG7BKLO82DHNU")
# Get all bonuses for a given HIT
GetBonuses(hit = "2MQB727M0IGF304GJ16S1F4VE3AYDQ")
# Get bonuses from all HITs of a given batch from the RUI
GetBonuses(annotation = "BatchId:78382;")
## End(Not run)