View source: R/sendComparisons.R
sendComparisons | R Documentation |
sendComparisons
uploads comparisons onto MTurk for labeling.
sendComparisons(
hit_type = NULL,
hit_layout = NULL,
comparisons_to_send = NULL,
expire_in_seconds = as.character(60 * 60 * 8),
n_assignments = "3",
hit_param_names = c("doc1", "doc2")
)
hit_type |
The HITType ID from the MTurk requester dashboard. |
hit_layout |
The Layout ID from the MTurk requester dashboard. |
comparisons_to_send |
A data.frame of two columns, where each row corresponds with a single comparison and each entry is the text of the documents to be compared. |
expire_in_seconds |
A string indicating the number of seconds until the batch of HITs expires. The default is 8 hours (28,800 seconds). The value must be between 30 and 31,536,000. |
n_assignments |
A string indicating the number of times each unique comparison is to be uploaded. The default is '1'. |
hit_param_names |
A vector of strings with parameter names as they appear in the HITformat.html file. These should not be modified unless using a custom version of HITformat.html where alternate parameter names have been specified. |
The function sends comparisons to MTurk for labeling.
A vector of HIT ids corresponding to the most recent batch sent to MTurk.
Ryden Butler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.