https://github.com/eoda-dev/rtabulator
R Bindings for Tabulator JS
https://github.com/eoda-dev/rtabulator
bindings htmlwidgets rlang shiny spreadsheet table tabulator-js
Last synced: 21 days ago
JSON representation
R Bindings for Tabulator JS
- Host: GitHub
- URL: https://github.com/eoda-dev/rtabulator
- Owner: eoda-dev
- License: other
- Created: 2024-09-09T05:52:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-14T07:56:28.000Z (over 1 year ago)
- Last Synced: 2025-12-13T05:58:13.510Z (3 months ago)
- Topics: bindings, htmlwidgets, rlang, shiny, spreadsheet, table, tabulator-js
- Language: R
- Homepage: https://eoda-dev.github.io/rtabulator/
- Size: 1.6 MB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shiny-extensions - rtabulator - R bindings for the Tabulator JS library for interactive tables. (UI Components / Table)
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# rtabulator
[](https://github.com/eoda-dev/rtabulator/actions/workflows/R-CMD-check.yaml)
[](https://CRAN.R-project.org/package=rtabulator)
[](https://github.com/olifolkerd/tabulator/releases/tag/6.2.5)
[](https://app.codecov.io/gh/eoda-dev/rtabulator)
The goal of rtabulator is to make it a breeze creating beautiful and interactive tables in markdown documents and Shiny application using [Tabulator JS](https://tabulator.info/).
## 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://eoda-dev.github.io/rtabulator/](https://eoda-dev.github.io/rtabulator/).
Bindings for Python are available at [https://github.com/eoda-dev/py-tabulator](https://github.com/eoda-dev/py-tabulator).
## Installation
You can install the released version of rtabulator from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("rtabulator")
```
You can install the development version of rtabulator like so:
``` r
remotes::install_github("eoda-dev/rtabulator")
```
## Basic usage
``` r
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
``` r
shiny::runGitHub("eoda-dev/rtabulator", subdir = "examples/shiny/titanic")
```