rate_task: approve/reject

Description Usage Arguments Details Author(s) See Also Examples

Description

Approve or reject a submitted task

Usage

1
2
3
approve_task(campaign, task, comment, type = "basic", key = getOption("microworkers_key"))

reject_task(campaign, task, comment, type = "basic", key = getOption("microworkers_key"))

Arguments

campaign

A character string containing a campaign ID.

task

A character string containing the task ID for the task.

comment

A character string containing feedback to be supplied to the worker. This is required for reject_task and optional for approve_task.

type

A character string specifying the type of campaign. One of “basic” (the default) or “hiregroup”.

key

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

Details

Approve or reject a task submitted by a worker for a campaign.

Author(s)

Thomas J. Leeper

See Also

list_tasks get_task

Examples

1
2
3
4
5
6
7
8
## Not run: 
tasks <- list_tasks()

approve_task()

reject_task()

## End(Not run)

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