R/create_dt.R
create_dt.Rd
Generate an interactive data table with download buttons.
create_dt( dat, caption = "", buttons = c("copy", "csv", "excel", "pdf", "print"), scrollY = 400 )
Data to show.
Table caption.
Download button types to include in table.
Maximum height (in pixels) before defaulting to scrolling.
create_dt(dat = mtcars) #> Loading required namespace: DT