Description Usage Arguments Details Value Author(s) References See Also Examples
Get details of bonuses paid to workers, by HIT, HITType, or Assignment.
1 2 3 |
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 |
return.all |
A logical indicating whether all HITs (as opposed to a specified page of the search results) should be returned. Default is |
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. |
verbose |
Optionally print the results of the API request to the standard output. Default is taken from |
... |
Additional arguments passed to |
Retrieve bonuses previously paid to a specified HIT, Assignment, or HITType.
bonuses()
is an alias.
A data frame containing the details of each bonus, specifically: AssignmentId, WorkerId, Amount, CurrencyCode, FormattedPrice, Reason, and GrantTime.
Thomas J. Leeper
1 2 3 4 5 6 7 8 9 10 11 | ## 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.