job_delete: Delete a single job

Description Usage Arguments Value See Also Examples

Description

Delete a single Crowdflower job

Usage

1
job_delete(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 logical.

See Also

job_create, job_update

Examples

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

# delete job
job_delete(j)

## End(Not run)

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