docling_tables: Extract tables as data frames

View source: R/tables.R

docling_tablesR Documentation

Extract tables as data frames

Description

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.

See Also

docling_convert()

Examples

## Not run: 
doc <- docling_convert("financials.pdf")
tbls <- docling_tables(doc)
tbls[[1]]

## End(Not run)

doclingr documentation built on Oct. 28, 2026, 1:07 a.m.