For each table, emits a markdown header and shows the first and last
n rows as DT datatables. Small tables (≤ 2n rows) are shown in
full. Geometry columns are excluded from display since they render
as unreadable binary.
Value
Invisible NULL. Side effect: prints markdown headers and DT datatable widgets for Quarto/knitr output.
Examples
if (FALSE) { # \dontrun{
# in a chunk with `#| results: asis`
preview_tables(con, c("casts", "bottle", "grid"))
} # }