get_entities {daiR} | R Documentation |
Get entities
Description
Extracts entities Document AI (DAI) identified by a Document AI form parser processor.
Usage
get_entities(object, type = "sync")
Arguments
object |
either a HTTP response object from
|
type |
one of "sync" or "async", depending on the function used to process the original document. |
Value
a list of dataframes, one per page
Examples
## Not run:
entities <- get_entities(dai_sync("file.pdf"))
entities <- get_entities("file.json", type = "async")
## End(Not run)
[Package daiR version 1.0.0 Index]