Learn R Programming

MTurkR (version 0.1)

GenerateHTMLQuestion: Generate HTMLQuestion

Description

Generate an HTMLQuestion data structure for use in the Question parameter of CreateHIT.

Usage

GenerateHTMLQuestion(character = NULL, file = NULL)

Arguments

character
An optional character string from which to construct the HTMLQuestion data structure.
file
An optional file handle from which to construct the HTMLQuestion data structure.

Value

  • A character string containing a URL query parameter-formatted HTMLQuestion data structure for use in the question parameter of CreateHIT.

Details

Must specify either character or file.

References

http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_HTMLQuestionArticle.html{API Reference}

See Also

CreateHIT GenerateExternalQuestion GenerateHITLayoutParameter

Examples

Run this code
GenerateHTMLQuestion(file="mynewhit.html")

Run the code above in your browser using DataLab