Provides R bindings for 'Tabulator JS' < https://tabulator.info/>. Makes it a breeze to create highly customizable interactive tables in 'rmarkdown' documents and 'shiny' applications. It includes filtering, grouping, editing, input validation, history recording, column formatters, packaged themes and more.
The goal of rtabulator is to make it a breeze creating beautiful and interactive tables in markdown documents and Shiny application using Tabulator JS.
To learn more about rtabulator, see the documentation at https://eodagmbh.github.io/rtabulator/.
Bindings for Python are available at https://github.com/eodaGmbH/py-tabulator.
You can install the released version of rtabulator from CRAN with:
install.packages("rtabulator")
You can install the development version of rtabulator like so:
remotes::install_github("eodaGmbH/rtabulator")
library(rtabulator)
tabulator(mtcars)
# Set theme
tabulator(iris, theme = "midnight")
# Format columns
tabulator(airquality) |>
set_formatter_progress(
column = "Temp",
legend = TRUE,
legend_align = "left"
)
# Spreadsheet mode
tabulator(data = list(), spreadsheet = TRUE)
shiny::runGitHub("eodaGmbH/rtabulator", subdir = "examples/shiny/titanic")