These functions provide lists (of QualificationTypes, Requester and Worker Statistics) useful when creating HITs and QualificationTypes, and other functions to open specific pages of the MTurk Requester User Interface (RUI), or in the case of ViewAvailableHITs
, the MTurk worker site.
ListOperations(op = NULL)ListQualificationTypes(qual = NULL)
ListStatistics(stat = NULL, value.type = NULL, type = NULL)
ViewAvailableHITs(query = NULL, requester = NULL, min.reward = NULL, qualified = NULL)
OpenWorkerPage(workerid = NULL)
OpenManageHITPage(hit = NULL)
OpenDownloadPage(hit, download = FALSE)
OpenQualificationPage()
For ListOperations
: a number indicating which of the operations to return. Probably not useful.
For ListQualificationTypes
: a character string containing the name of a built-in QualificationType. If specified, ListQualificationTypes
returns only the QualificationTypeId of that QualificationType.
For ListStatistics
: an optional character string specifying the name of an MTurk statistic. If specified, only details of that statistic are returned.
For ListStatistics
: an optional character string specifying whether “Double”-type or “Long”-type statistics should be returned. If NULL
, both types are returned. Probably not useful.
For ListStatistics
: an optional character string specifying whether “GetRequesterStatistic”-type or “GetRequesterWorkerStatistic”-type statistics should be returned. If NULL
, both types are returned.
For ViewAvailableHITs
: an optional character string containing a search query used to search through HITs available on the MTurk worker site.
For ViewAvailableHITs
: an optional character string containing a RequesterId whose HITs are to be searched, for example to see how one's own HITs appear to workers on the MTurk worker site.
For ViewAvailableHITs
: an optional character string containing a minimum reward (in U.S. Dollars) criterion to be used when searching available HITs on the worker site.
For ViewAvailableHITs
: an optional logical specifying whether only HITs for which you are qualified should be searched.
For OpenWorkerPage
: an optional character string containing the WorkerId of a worker whose Requester User Interface (RUI) management page is to be opened. If NULL
, function opens the list of workers.
For OpenManageHITPage
: an optional character string containing the HITId of a HIT whose Requester User Interface (RUI) management page is to be opened. If NULL
, function opens the list of all HITs. For OpenDownloadPage
: a mandatory character string containing a HITID of a HIT whose assignment data download page should be opened.
For OpenDownloadPage
: a logical indicating whether the HIT results should be downloaded directly or whether the Requester User Interface (RUI) ManageHIT page should be opened (the default).
Either a data frame containing the requested information (in the case of ListOperations
, ListQualificationTypes
, ListStatistics
) or nothing internal to R, but the specified webpage is opened in the user's default web browser (in the case of OpenWorkerPage
, OpenManageHITPage
, OpenDownloadPage
, or OpenQualificationPage
).
A set of convenience functions to either display various information about MTurk semantics or open specified parts of the Requester User Interface (RUI).
# NOT RUN {
ListOperations()
ListQualificationTypes()
ListStatistics()
ViewAvailableHITs(min.reward=".50")
OpenWorkerPage()
OpenWorkerPage("A1RO9UEXAMPLE")
OpenManageHITPage()
OpenDownloadPage("267SI2KYEPLS8QWZYPXWP3EXAMPLE",download=TRUE)
OpenQualificationPage()
# }
Run the code above in your browser using DataLab