genericmturkr(operation, parameters = NULL, keypair = credentials(), print = TRUE,
browser = FALSE, log.requests = TRUE, sandbox = FALSE, xml.parse = TRUE)
makeGETparameters(parameter, value)
makeGETparameters
.credentials
.TRUE
.FALSE
.TRUE
. See readlogfile
for details.FALSE
.parameter
.request.url
), the Request ID created by the API reqest (request.id
), a logical indicating whether or not the request was valid and thus executed as intended (valid
), and a character string containing the XML-formatted API response (xml
).authenticate
and request
to provide advanced users with generic access to the MTurk API. genericmturkr
executes arbitrary MTurk API requests for the specified MTurk API operation and any parameters
. makeGETparameters
provides a convenience function to generate these. Though this function does not underly the other MTurkR functions, it can produce similar effects (though response information is returned unformatted).genericmturkr("GetAccountBalance")
a <- makeGETparameters("AssignmentId","26XXH0JPPSI23H54YVG7BKLEXAMPLE")
data <- genericmturkr("GetAssignment",a)
Run the code above in your browser using DataLab