create_dt | R Documentation |
Generate an interactive data table with download buttons.
create_dt(
dat,
caption = "",
buttons = c("copy", "csv", "excel", "pdf", "print"),
scrollY = 400
)
dat |
Data to show. |
caption |
Table caption. |
buttons |
Download button types to include in table. |
scrollY |
Maximum height (in pixels) before defaulting to scrolling. |
create_dt(dat = mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.