Licensing

All my work is licensed under MIT (see LICENSE) while some files that come with the package (and do most of the heavy lifting) are authored as follows (and to my understanding all allow redistribution as long as leaving their notices intact):

Description

This R package is for rendering (standalone) tables from R in HTML with sticky table headers which I find handy for interactive data inspection as well as for simple reporting.

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "##",
  fig.path = "README-"
)
# devtools::install_github("petermeissner/htab")    # install

library(htab)                                     # load package

?htab                                             # find help

htab( 
  airquality, 
  file="htab_example.html", 
  color   = "#000000", 
  bgcolor = scale_blues(airquality$Ozone, 5) , 
  standalone = TRUE, 
  html="
<h1>This is an example of htab package</h1> 

<p><a href='https://github.com/petermeissner/htab'>LINK</a></p>

<p>
The package renders (standalone) R data.frames as HTML tables and allows for sticky table headers thanks to <a href='https://github.com/jmosbech/StickyTableHeaders'>Jonas Mosbech</a>
</p>
")

Click here to see the results

source("/home/peter/Dropbox/petermeissner.github.io/_make_pages_functions.R")
uploadToServer("htab_example.html", "pmeissner/downloads/htab_example.html")


petermeissner/htab documentation built on May 25, 2019, 1:53 a.m.