R Bindings for 'Tabulator JS'

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.


rtabulator

R-CMD-check CRANstatus Tabulator

The goal of rtabulator is to make it a breeze creating beautiful and interactive tables in markdown documents and Shiny application using Tabulator JS.

Features

  • Filtering
  • Grouping
  • Editing
  • Input validation
  • History with undo and redo actions
  • Pagination
  • Layout
  • Column formatters
  • Column calculations
  • Multi column headers
  • Packaged themes
  • Spreadsheets supporting multiple sheets
  • Download data
  • Freeze data

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.

Installation

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")

Basic usage

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

shiny::runGitHub("eodaGmbH/rtabulator", subdir = "examples/shiny/titanic")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rtabulator")

0.1.2 by Stefan Kuethe, 2 years ago


https://github.com/eodaGmbH/rtabulator https://eodagmbh.github.io/rtabulator/


Report a bug at https://github.com/eodaGmbH/rtabulator/issues


Browse source code at https://github.com/cran/rtabulator


Authors: Stefan Kuethe [aut, cre, cph] , Nico Friess [aut] , Oli Folkerd [cph] (Author of included tabulator.js library)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports glue, htmltools, htmlwidgets, purrr, readr, shiny


See at CRAN