GetHITsForQualificationType: Get HITs by Qualification

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Retrieve HITs according to the QualificationTypes that are required to complete those HITs.

Usage

1
2
3
GetHITsForQualificationType(qual, response.group = NULL, return.all = TRUE, 
                            pagenumber = 1, pagesize = 100, 
                            verbose = getOption('MTurkR.verbose', TRUE), ...)

Arguments

qual

A character string containing a QualificationTypeId.

response.group

An optional character string specifying what details of each HIT to return of: “Minimal”, “Request”. For more information, see Common Parameters and HIT Data Structure.

return.all

A logical indicating whether all QualificationTypes (as opposed to a specified page of the search results) should be returned. Default is TRUE.

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 getOption('MTurkR.verbose', TRUE).

...

Additional arguments passed to request.

Details

A function to retrieve HITs that require the specified QualificationType.

gethitsbyqual() is an alias.

Value

A data frame containing the HITId and other requested characteristics of the qualifying HITs.

Author(s)

Thomas J. Leeper

References

API Reference

See Also

GetHIT

SearchHITs

Examples

1
2
3
4
5
## Not run: 
q <- ListQualificationTypes()[7,2] # Location requirement
GetHITsForQualificationType(q)

## End(Not run)

leeper/MTurkR documentation built on April 3, 2018, 5:27 p.m.