Learn R Programming

MTurkR (version 0.5.1)

GetReviewResultsForHIT: Get ReviewPolicy Results for a HIT

Description

Get HIT- and/or Assignment-level ReviewPolicy Results for a HIT

Usage

GetReviewResultsForHIT(hit, assignment = NULL, policy.level = NULL,
                       retrieve.results = TRUE, retrieve.actions = TRUE,
                       verbose = getOption('MTurkR.verbose'), ...)

Arguments

hit
A character string containing a HITId.
assignment
An optional character string containing an AssignmentId. If specified, only results pertaining to that assignment will be returned.
policy.level
Either HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels.
retrieve.results
Optionally retrieve ReviewResults. Default is TRUE.
retrieve.actions
Optionally retrieve ReviewActions. Default is TRUE.
verbose
Optionally print the results of the API request to the standard output. Default is taken from getOption('MturkR.verbose').
...
Additional arguments passed to request.

Value

  • A list containing up to four named dataframes, depending on what ReviewPolicy (or ReviewPolicies) were attached to the HIT: AssignmentReviewResult, AssignmentReviewAction, HITReviewResult, HITReviewAction.

Details

A simple function to return the results of a ReviewPolicy. This is intended only for advanced users, who should reference MTurk documentation for further information. reviewresults is an alias.

References

http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetReviewResultsForHitOperation.html{API Reference} http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ReviewPoliciesArticle.html{API Reference (ReviewPolicies)} http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_HITReviewPolicyDataStructureArticle.html{API Reference (Data Structure)}

See Also

CreateHIT

Examples

Run this code
GetReviewResultsForHIT()

Run the code above in your browser using DataLab