Learn R Programming

pyMTurkR (version 1.1.6)

DisposeQualificationType: Dispose QualificationType

Description

Dispose of a QualificationType. This deletes the QualificationType, Qualification scores for all workers, and all records thereof.

Usage

DisposeQualificationType(qual, verbose = getOption("pyMTurkR.verbose", TRUE))

Value

A data frame containing the QualificationTypeId and whether the request to dispose was valid.

Arguments

qual

A character string containing a QualificationTypeId.

verbose

Optionally print the results of the API request to the standard output. Default is taken from getOption('pyMTurkR.verbose', TRUE).

Author

Tyler Burleigh, Thomas J. Leeper

Details

A function to dispose of a QualificationType that is no longer needed. It will dispose of the Qualification type and any HIT types that are associated with it. It does not not revoke Qualifications already assigned to Workers. Any pending requests for this Qualification are automatically rejected.

DisposeQualificationType(), disposequal(), and deletequal() are aliases.

References

API Reference

Examples

Run this code

if (FALSE) {
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)
}

Run the code above in your browser using DataLab