Learn R Programming

abbyyR (version 0.5.5)

listTasks: List Tasks

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

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

Run this code
# NOT RUN {
listTasks()
listTasks(fromDate = "2015-11-10T00:00:00Z", toDate = "2016-11-10T00:00:00Z")
listTasks(fromDate = "2015-11-10T00:00:00Z")
# }

Run the code above in your browser using DataLab