job_get: Get a single job

Description Usage Arguments Value See Also Examples

Description

Get a single Crowdflower job

Usage

1
job_get(id, verbose = TRUE, ...)

Arguments

id

A character string containing an ID for job.

verbose

A logical indicating whether to print additional information about the request.

...

Additional arguments passed to cf_query.

Value

A list containing details of all jobs. The id field provides the Crowdflower Job ID for each job.

See Also

cf_account

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## 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))

# confirm details are correct
job_get(j)

# delete job
job_delete(j)

## End(Not run)

cloudyr/crowdflower documentation built on May 13, 2019, 8:20 p.m.