Table detection and extraction from ruling lines, text alignments, or
caller-supplied explicit lines. Public coordinates use
[x0 top x1 bottom] in a top-left origin.
Table detection and extraction from ruling lines, text alignments, or caller-supplied explicit lines. Public coordinates use `[x0 top x1 bottom]` in a top-left origin.
(extract-table doc)(extract-table doc opts)Extract the first detected table, ordered top-to-bottom then left-to-right,
or nil when no table is found. This preserves the singular API while
extract-tables returns all independent table regions. Options are the same
as extract-tables.
Extract the first detected table, ordered top-to-bottom then left-to-right, or nil when no table is found. This preserves the singular API while `extract-tables` returns all independent table regions. Options are the same as `extract-tables`.
(extract-tables doc)(extract-tables doc opts)Detect and extract every independent table on a page, ordered top-to-bottom then left-to-right. Unlike versions through 0.1.2, this returns one table per connected cell region instead of at most one page-wide bounding grid.
Options include :vertical-strategy and :horizontal-strategy, each one of
:lines, :lines-strict, :text, or :explicit; corresponding
:explicit-vertical-lines / :explicit-horizontal-lines; and
:snap-tolerance, :join-tolerance, :edge-min-length,
:intersection-tolerance, :min-words-vertical, and
:min-words-horizontal. The legacy :strategy option sets both axes.
Detect and extract every independent table on a page, ordered top-to-bottom then left-to-right. Unlike versions through 0.1.2, this returns one table per connected cell region instead of at most one page-wide bounding grid. Options include `:vertical-strategy` and `:horizontal-strategy`, each one of `:lines`, `:lines-strict`, `:text`, or `:explicit`; corresponding `:explicit-vertical-lines` / `:explicit-horizontal-lines`; and `:snap-tolerance`, `:join-tolerance`, `:edge-min-length`, `:intersection-tolerance`, `:min-words-vertical`, and `:min-words-horizontal`. The legacy `:strategy` option sets both axes.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |