Last chance! 50% off unlimited learning
Sale ends in
UpdateQualificationType
.CreateQualificationType(name, description, status, keywords = NULL,
retry.delay = NULL, test = NULL, answerkey = NULL,
test.duration = NULL,
validate.test = FALSE, validate.answerkey = FALSE,
auto = NULL, auto.value = NULL,
verbose = getOption('MTurkR.verbose', TRUE), ...)
UpdateQualificationType
.UpdateQualification
GenerateAnswerKey
.test
parameter should be validated against the relevant MTurk schema prior to creating the QualificationType (operation will fail if it does not validate, and will return validation information). Default is answerkey
parameter should be validated against the relevant MTurk schema prior to creating the QualificationType (operation will fail if it does not validate, and will return validation information). Default NULL
meaning FALSE
.getOption('MTurkR.verbose', TRUE)
.request
.UpdateQualificationType
. Qualifications can then be used to assign Qualifications to workers with AssignQualification
and invoked as QualificationRequirements in RegisterHITType
and/or CreateHIT
operations.
createqual()
is an alias.GetQualificationType
DisposeQualificationType
UpdateQualificationType
SearchQualificationTypes
# Create
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")
DisposeQualificationType(qual1$QualificationTypeId)
# QualificationType with test and answer key
qf <- paste0(readLines(system.file("qualificationtest1.xml", package = "MTurkR")), collapse="")
qa <- paste0(readLines(system.file("answerkey1.xml", package = "MTurkR")), collapse="")
qual1 <- CreateQualificationType(name = "Qualification with Test",
description = "This qualification is a demo",
test = qf,
answerkey = qa, # optionally, use AnswerKey
status = "Active",
keywords = "test, autogranted")
DisposeQualificationType(qual1$QualificationTypeId)
Run the code above in your browser using DataLab