getResults: Get Results

View source: R/getResults.R

getResultsR Documentation

Get Results

Description

Get data from all the processed images.

Usage

getResults(output = "", save_to_file = TRUE)

Arguments

output

Optional; folder to which you want to save the data from the processed images; Default is same folder as the script

save_to_file

Required; Default is TRUE; If true, it saves to file. Otherwise returns a data frame with results + other attributes from Abbyy

Details

The function calls listFinishedTasks, goes through the finishedTasks data frame and downloads all the files in resultsUrl Results can be stored in memory or written to the hard disk. By default, the function writes to the disk. If the user wants the results to be written to disk, a data frame with paths to local file paths is returned. If the user wants to store the results in memory, data frame with a column carrying the results is returned.

Value

data frame returned by listFinishedTasks plus either a column that contains paths to local files (when writing to disk), or actual results returned.

References

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

Examples

## Not run: 
getResults(save_to_file = FALSE)

## End(Not run)

soodoku/abbyyR documentation built on July 19, 2023, 8:36 a.m.