RegisterHITType | R Documentation |
Register a HITType on MTurk, in order to create one or more HITs to show up as a group to workers.
RegisterHITType(
title,
description,
reward,
duration,
keywords = NULL,
auto.approval.delay = as.integer(2592000),
qual.req = NULL,
verbose = getOption("pyMTurkR.verbose", TRUE)
)
title |
A character string containing the title for the HITType. All HITs of this HITType will be visibly grouped to workers according to this title. Maximum of 128 characters. |
description |
A character string containing a description of the HITType. This is visible to workers. Maximum of 2000 characters. |
reward |
A character string containing the per-assignment reward amount, in U.S. Dollars (e.g., “0.15”). |
duration |
A character string containing the amount of time workers
have to complete an assignment for HITs of this HITType, in seconds (for
example, as returned by |
keywords |
An optional character string containing a comma-separated set of keywords by which workers can search for HITs of this HITType. Maximum of 1000 characters. |
auto.approval.delay |
An optional character string specifying the
amount of time, in seconds (for example, as returned by
|
qual.req |
An optional character string containing one or more
QualificationRequirements data structures, for example as returned by
|
verbose |
Optionally print the results of the API request to the
standard output. Default is taken from |
All HITs of a given HITType are visibly grouped together for workers and
share common properties (e.g., reward amount, QualificationRequirements).
This function registers a HITType in the MTurk system, which can then be
used when creating individual HITs. If a requester wants to change these
properties for a specific HIT, the HIT should be changed to a new HITType
(see ChangeHITType
).
hittype()
, CreateHITType()
, and createhittype()
are aliases.
A two-column data frame containing the HITTypeId of the newly registered HITType and an indicator for whether the registration request was valid.
Tyler Burleigh, Thomas J. Leeper
CreateHIT
ChangeHITType
## Not run:
RegisterHITType(title="10 Question Survey",
description=
"Complete a 10-question survey about news coverage and your opinions",
reward=".20",
duration=seconds(hours=1),
keywords="survey, questionnaire, politics")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.