Learn R Programming

datadigest (version 1.0.2)

codebook: Create an interactive codebook

Description

This function creates an interactive codebook from a user specified data frame using.using R htmlwidgets. The codebook can be explored using the RStudio viewer or a web browser. The codebook can also be embedded in an R Markdown document or saved as a standalone HTML page.

Usage

codebook(data, settings = NULL)

Arguments

data

A data frame.

settings

Optional list of custom settings.

Details

settings

If provided, the list of custom settings will be converted to JSON using jsonlite::toJSON. Details on configuration of the settings object can be found at https://github.com/RhoInc/web-codebook/wiki/Configuration.

See Also

explorer

Examples

Run this code
# NOT RUN {
codebook(data = mtcars)

# }

Run the code above in your browser using DataLab