Skip to content

codebook()

Becca Krouse edited this page Aug 1, 2018 · 5 revisions

codebook()

Produce an interactive codebook widget using the htmlwidgets framework. The resulting codebook can be viewed using the RStudio viewer or an Rmarkdown or HTML document. The user simply passes a data frame via the data argument.

Optionally, advanced users can customize the appearance and behavior of the interactive codebook by providing a custom settings object. The user should provide an R list that will then be converted to a json object using the toJSON() function. Full specifications for the json configuration object are provided in the web-codebook wiki.

Param Type Description
data data.frame data to be summarized
settings list optional config object customizing codebook appearance and behavior

Example

devtools::install_github("RhoInc/codebook")
library("codebook")
codebook(data = mtcars)
Clone this wiki locally