powered by
Extracts tables identified by a Document AI form parser processor.
get_tables(object, type = "sync")
a list of data frames
either a HTTP response object from dai_sync() or the path to a JSON file from dai_async().
dai_sync()
dai_async()
one of "sync" or "async", depending on the function used to process the original document.
if (FALSE) { tables <- get_tables(dai_sync("file.pdf")) tables <- get_tables("file.json", type = "async") }
Run the code above in your browser using DataLab