get_proof_file: get_proof_file

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/tasks.R

Description

Get an uploaded proof file

Usage

1
get_proof_file(task, path, key = getOption("microworkers_key"))

Arguments

task

A character string specifying a task ID.

path

Optionally, a character string containing a path to write the proof file to.

key

A character string containing a Microworkers.com API secret key.

Details

Get an uploaded proof file for the specified task.

Value

Invisibly, a raw vector containing the file contents.

Author(s)

Thomas J. Leeper

See Also

list_tasks get_task approve_task reject_task

Examples

1
2
3
4
5
6
## Not run: 
tasks <- list_tasks()
get_task(tasks[1])
get_proof_file(tasks[1])

## End(Not run)

cloudyr/microworkers documentation built on May 13, 2019, 8:21 p.m.