Skip to contents

Export tables with download, pasta and copy buttons

Usage

web_table(
  data,
  caption = NULL,
  digits = 2,
  rnames = FALSE,
  buttons = NULL,
  file_name = "file",
  scrolly = NULL
)

Arguments

data

Dataset.

caption

Title for the table.

digits

Digits number in the table exported.

rnames

Row names.

buttons

Buttons: "excel", "copy" or "none". Default c("excel", "copy")

file_name

Excel file name

scrolly

Windows height to show the table. Default "60vh"

Value

table in markdown format for html documents

Examples


if (FALSE) {

library(inti)

met %>%
  web_table(caption = "Web table")

}