Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Sep 13, 2024
1 parent 9a7d959 commit da6cad8
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 3 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ _NAMESPACE
^docs$
^pkgdown$
^\.github$
images/
40 changes: 38 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,54 @@ knitr::opts_chunk$set(
The goal of rtabulator is to make it a breeze creating beautiful and reactive tables using
[Tabulator JS](https://tabulator.info/)

## Features

* Filters
* Grouping
* Multiple column formatters (images, html, progress bar, ...)
* Multiple themes
* Multi column headers
* Spreadsheet mode supporting multiple sheets
* Cell editing supporting validation
* Downloads (json, csv, xlsx)
* Interactivity

## Installation

Once on CRAN you can install rtabulator with:

``` r
install.packages("rtabulator")
```

You can install the development version of rtabulator like so:

``` r
remotes::install_github("eodaGmbH/rtabulator")
```

## Example
## Basic Usage

```r
``` 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)
```

## Documentation

[rtabulator docs](https://eodagmbh.github.io/rtabulator/)
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,61 @@
# rtabulator

<!-- badges: start -->

[![R-CMD-check](https://github.com/eodaGmbH/rtabulator/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/eodaGmbH/rtabulator/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

The goal of rtabulator is to make it a breeze creating beautiful and
reactive tables using [Tabulator JS](https://tabulator.info/)

## Features

- Filters
- Grouping
- Multiple column formatters (images, html, progress bar, …)
- Multiple themes
- Multi column headers
- Spreadsheet mode supporting multiple sheets
- Cell editing supporting validation
- Downloads (json, csv, xlsx)
- Interactivity

## Installation

Once on CRAN you can install rtabulator with:

``` r
install.packages("rtabulator")
```

You can install the development version of rtabulator like so:

``` r
remotes::install_github("eodaGmbH/rtabulator")
```

## Example
## 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)
```

## Documentation

[rtabulator docs](https://eodagmbh.github.io/rtabulator/)

0 comments on commit da6cad8

Please sign in to comment.