GetBonuses | R Documentation |
Get details of bonuses paid to workers, by HIT, HITType, Assignment, or Annotation.
GetBonuses(
assignment = NULL,
hit = NULL,
hit.type = NULL,
annotation = NULL,
results = as.integer(100),
pagetoken = NULL,
verbose = getOption("pyMTurkR.verbose", TRUE)
)
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 |
Retrieve bonuses previously paid to a specified HIT, HITType, Assignment, or Annotation.
bonuses()
, getbonuses()
, ListBonusPayments()
and
listbonuspayments()
are aliases.
A data frame containing the details of each bonus, specifically: AssignmentId, WorkerId, Amount, Reason, and GrantTime.
Tyler Burleigh, Thomas J. Leeper
GrantBonus
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.