DataTables

DataTables

March 13, 2016

DataTables is a JavaScript library to render HTML tables that can be paginated, filtered, and sorted. The R package DT is an interface to DataTables based on htmlwidgets, and users don’t need to know JavaScript to render HTML tables in R Markdown or Shiny. In this talk, I will show the main features of DT, demonstrate the basic structure of a HTML widget package using DT as the example, and explain how JavaScript and R/shiny communicates with each other (e.g. how pagination/filtering/sorting works under the hood).

About the speaker

Yihui Xie is a software engineer at RStudio. He earned his PhD from the Department of Statistics, Iowa State University. He is interested in interactive statistical graphics and statistical computing. As an active R user, he has authored several R packages, such as knitr, bookdown, blogdown, xaringan, tinytex, rolldown, animation, DT, tufte, formatR, fun, xfun, mime, highr, servr, and Rd2roxygen. He also co-authored a few other R packages, including shiny, rmarkdown, rticles, and leaflet. He has authored two books, “Dynamic Documents with knitr” (Xie 2015), and “bookdown: Authoring Books and Technical Documents with R Markdown” (Xie 2016), and co-authored two books, “blogdown: Creating Websites with R Markdown” (Xie, Hill, and Thomas 2017), and “R Markdown: The Definitive Guide” (Xie, Allaire, and Grolemund 2018).