listTasks: List Tasks

Description Usage Arguments Value References Examples

Description

List all the tasks in the application. You can specify a date range and whether or not you want to include deleted tasks. The function prints total number of tasks and no. of finished tasks by default.

Usage

1
listTasks(fromDate=NULL, toDate=NULL, excludeDeleted = FALSE, ...)

Arguments

fromDate

Optional; format: yyyy-mm-ddThh:mm:ssZ

toDate

Optional; format: yyyy-mm-ddThh:mm:ssZ

excludeDeleted

Optional; Boolean, Default=FALSE

...

Additional arguments passed to abbyy_GET.

Value

A data.frame with the following columns: id (task id), registrationTime, statusChangeTime, status (Submitted, Queued, InProgress, Completed, ProcessingFailed, Deleted, NotEnoughCredits), filesCount (No. of files), credits, resultUrl (URL for the processed file)). If no tasks are finished, the last column (resultUrl) isn't returned.

References

http://ocrsdk.com/documentation/apireference/listTasks/

Examples

1
2
3
4
5
6
## Not run: 
listTasks()
listTasks(fromDate = "2015-11-10T00:00:00Z", toDate = "2016-11-10T00:00:00Z")
listTasks(fromDate = "2015-11-10T00:00:00Z")

## End(Not run)

abbyyR documentation built on June 25, 2019, 9:02 a.m.