UpdateQualificationType | R Documentation |
Update characteristics of a QualificationType.
UpdateQualificationType(
qual,
description = NULL,
status = NULL,
retry.delay = NULL,
test = NULL,
answerkey = NULL,
test.duration = NULL,
auto = NULL,
auto.value = NULL,
verbose = getOption("pyMTurkR.verbose", TRUE)
)
qual |
A character string containing a QualificationTypeId. |
description |
A longer description of the QualificationType. This is visible to workers. Maximum of 2000 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. If not specified, retries are disabled and Workers can request a Qualification of this type only once, even if the Worker has not been granted the Qualification. |
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 |
auto.value |
An optional parameter specifying the value that is automatically assigned to workers when they request it (if the Qualification is automatically granted). |
verbose |
Optionally print the results of the API request to the
standard output. Default is taken from |
A function to update the characteristics of a QualificationType. Name and keywords cannot be modified after a QualificationType is created.
updatequal()
is an alias.
A data frame containing the QualificationTypeId of the newly created QualificationType and other details as specified in the request.
Tyler Burleigh, Thomas J. Leeper
GetQualificationType
CreateQualificationType
DisposeQualificationType
SearchQualificationTypes
## Not run:
qual1 <- CreateQualificationType(name="Worked for me before",
description="This qualification is for people who have worked for me before",
status = "Active",
keywords="Worked for me before")
qual2 <- UpdateQualificationType(qual1$QualificationTypeId,
description="This qualification is for everybody!",
auto=TRUE, auto.value="5")
DisposeQualificationType(qual1$QualificationTypeId)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.