Description Usage Arguments Details Value Author(s) References Examples
Block a worker. This prevents a worker from completing any HITs for you while they are blocked, but does not affect their ability to complete work for other requesters or affect their worker statistics.
1 2 3 4 5 | BlockWorker(
workers,
reasons = NULL,
verbose = getOption("pyMTurkR.verbose", TRUE)
)
|
workers |
A character string containing a WorkerId, or a vector of character strings containing multiple WorkerIds. |
reasons |
A character string containing a reason for blocking a worker. This must have length 1 or length equal to the number of workers. |
verbose |
Optionally print the results of the API request to the
standard output. Default is taken from |
BlockWorker
prevents the specified worker from completing any of your
HITs.
BlockWorkers()
, block()
and CreateWorkerBlock()
,
are aliases for BlockWorker
. UnblockWorkers()
,
unblock()
, and DeleteWorkerBlock()
are aliases for
UnblockWorker
. blockedworkers()
is an alias for
GetBlockedWorkers
.
BlockWorker
returns a data frame containing the list of workers,
reasons (for blocking them), and whether the request to block was valid.
Tyler Burleigh, Thomas J. Leeper
1 2 3 4 5 | ## Not run:
BlockWorker("A1RO9UJNWXMU65", reasons="Did not follow HIT instructions.")
UnblockWorker("A1RO9UJNWXMU65")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.