Skip to content
An R package to create shiny compatible HTML tables
Branch: master
Clone or download
Latest commit c79a707 Mar 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man make package more cran friendly Mar 15, 2019
readme_files make package more cran friendly Mar 15, 2019
tests make package more cran friendly Mar 15, 2019
vignettes
.Rbuildignore
.gitignore
.travis.yml Update .travis.yml Oct 29, 2017
DESCRIPTION
LICENSE changed MIT LICENSE according to CRANs rules Jun 25, 2016
NAMESPACE
README.md
cran-comments.md updated cran comments Mar 16, 2019
news.md Update news.md Dec 17, 2018
tableHTML.Rproj add optional parameters to add_theme; fix misspellings and documentat… Jan 10, 2019

README.md

tableHTML

CRAN version Travis-CI Build Status Coverage Status

Overview

The goal of tableHTML is to create easily CSS-ible HTML tables. It is compatible with any application that uses HTML / CSS and has successfully been tested with:

  • Shiny
  • Rmarkdown
  • Microsoft Office

The package follows the tidyverse philosophy and uses the pipe operator %>% to chain functions together. Apart from applying standard CSS to columns / rows, the package offers the ability to add CSS conditionally (e.g. like column colour ranks) and to create CSS files for shiny.

Installation

To install the latest released version from CRAN you just need to run on your console:

install.packages('tableHTML')

To install the development version you need to have the devtools package installed. To install devtools type in your console:

install.packages('devtools')

Then to install tableHTML run the following on your console:

devtools::install_github('lyzander/tableHTML')

Usage

By typing on your console:

library(tableHTML)
tableHTML(mtcars)

you can see a first example of an HTML table!

Links - Cran / Tutorial / Examples

To find out about all the functions and how to use the package with shiny you can visit the online tutorial.

To see a gallery of examples you can visit the examples page.

To use conditional formatting or colour ranking for your table you can visit the conditional formatting vignette.

For a tutorial on how to build a CSS file and how to use that in shiny (in a fast way) you can visit the make_css and shiny link.

To check the themes included in the package you can visit the themes vignette.

To see the released version (and all the vignette links) you can visit CRAN.

You can’t perform that action at this time.