Description Usage Arguments Details Value
View source: R/MTBonusFromQual.R
This function applies bonuses depending on whether the bonus has been received by the worker previously for a given HITTypeId, assuming the worker achieves the threshold required by a given qualification (or qualifications).
1 2 3 4 5 |
HITTypeId |
A single HITTypeId. |
workerIds |
A single WorkerId or vector of WorkerIds. |
assignmentIds |
A single AssignmentId or vector of AssignmentIds. If specified, must be the
same length as |
results |
A data.frame returned from assignments returned by MTurk. |
criteriaQuals |
A single QualificationId or vector of QualificationIds. |
criteriaThresholds |
A single bonus threshold or vector of bonus thresholds. Must be the same
length as |
bonusQual |
The qualification ID for a qualification that counts how many bonuses have been given. |
bonusAmount |
The amount of money, in dollars, to be given to each worker. |
reason |
The reason to send the workers for receiving the bonus.
Default is |
sandbox |
Default is |
verbose |
Defines whether additional output is printed to the console. |
confirm |
If |
This function will grant bonuses if the worker has not received the bonus for the HITTypeId before and if the worker has a qualification score or qualification scores that exceed the thresholds. For example, if workers are assigned both a completion counter qualification that counts how many of a particular HITTypeId the worker has completed, and the worker is assigned a score of how well the worker did at completing the HITs based on gold standard or honey pot values, if the worker exceeds a threshold on the counter (e.g., completed at least 28 assignments) AND completed them with a score of at least 8500 points, the worker would receive the bonus.
Returns the WorkerIds of workers given the bonuses, or an invisible NULL
if none
granted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.