Usage
AssignQualification(qual, workers, value = "1", notify = FALSE,
name = NULL, description = NULL, keywords = NULL,
status = NULL, retry.delay = NULL,
test = NULL, answerkey = NULL, test.duration = NULL,
auto = NULL, auto.value = NULL,
conditional.statistic = NULL, conditional.comparator = NULL,
conditional.value = NULL, conditional.period = NULL,
set.statistic.as.value = FALSE,
verbose = getOption('MTurkR.verbose', TRUE), ...)
Arguments
qual
A character string containing a QualificationTypeId.
workers
A character string containing a WorkerId, or a vector of character strings containing multiple WorkerIds.
value
A character string containing the value to be assigned to the worker(s) for the QualificationType.
notify
A logical indicating whether workers should be notified that they have been assigned the qualification. Default is FALSE
.
name
An optional character string specifying a name for a new QualificationType. This is visible to workers. Cannot be modified by UpdateQualificationType
.
description
An optional character string specifying a longer description of the QualificationType. This is visible to workers. Maximum of 2000 characters.
keywords
An optional character string containing a comma-separated set of keywords by which workers can search for the QualificationType. Cannot be modified by UpdateQualificationType
. Maximum of 1000 characters.
status
A character vector of Active or Inactive, indicating whether the QualificationType should be active and visible.
retry.delay
An optional time (in seconds) indicating how long workers have to wait before requesting the QualificationType after an initial rejection.
test
An optional character string consisting of a QuestionForm data structure, used as a test a worker must complete before the QualificationType is granted to them.
answerkey
An optional character string consisting of an AnswerKey data structure, used to automatically score the test.
test.duration
An optional time (in seconds) indicating how long workers have to complete the test.
auto
A logical indicating whether the Qualification is automatically granted to workers who request it. Default is FALSE
.
auto.value
An optional parameter specifying the value that is automatically assigned to workers when they request it (if the Qualification is automatically granted).
conditional.statistic
An optional character string containing the name of a statistic (see ListStatistics
that should be used to conditionally assign the QualificationType to workers. conditional.comparator
An optional character string containing a comparator by which a worker's score of a qualification is compared to the specified value
. One of <, <=< dquote="">, >, >=, ===<>
conditional.value
An optional numeric or character string value against which workers scores will be compared. The QualificationType will only be assigned to those whose score on the specified statistic meet the comparison to this value.
conditional.period
An optional character string specifying the period for the statistic. Must be one of: OneDay, SevenDays, ThirtyDays, LifeToDate. Default is LifeToDate.
set.statistic.as.value
An optional logical specifying whether the worker's value of the statistic should be used as the value they are assigned for the QualificationType. Default is FALSE
and value
is used instead.
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
.