Skip to contents

Pull every table detected by Docling out of a converted document and return them as a list of tibbles, preserving the document order.

Usage

docling_tables(x)

Arguments

x

A docling_document from docling_convert().

Value

A list of tibble::tibbles, one per detected table. The list is empty if no tables were found. Each element carries a page attribute when Docling reports the originating page.

Examples

if (FALSE) { # \dontrun{
doc <- docling_convert("financials.pdf")
tbls <- docling_tables(doc)
tbls[[1]]
} # }