text_from_dai_response: Get text from HTTP response object

Description Usage Arguments Value Examples

View source: R/inspect_output.R

Description

Extracts the text OCRed by Document AI (DAI) in a synchronous processing request.

Usage

1

Arguments

response

an HTTP response object returned by dai_sync()

Value

a string

Examples

1
2
3
4
## Not run: 
text <- text_from_dai_response(response)

## End(Not run)

daiR documentation built on June 11, 2021, 5:16 p.m.