Description Usage Arguments Value See Also Examples
Get the “legend” (description) for a job
1 | job_legend_get(id, ...)
|
id |
A character string containing an ID for job. |
... |
Additional arguments passed to |
A list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
# create new job
f1 <- system.file("templates/instructions1.html", package = "crowdflower")
f2 <- system.file("templates/cml1.xml", package = "crowdflower")
j <- job_create(title = "Job Title",
instructions = readChar(f1, nchars = 1e8L),
cml = readChar(f2, nchars = 1e8L))
# add data
d <- data.frame(variable = 1:3)
job_add_data(id = j, data = d)
# get the legend
job_legend_get(id, title = "New Title")
# launch job
job_launch(id = j)
# get results
results_get(id = j)
# delete job
job_delete(j)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.