codebook_items: Tabular codebook

View source: R/codebook.R

codebook_itemsR Documentation

Tabular codebook

Description

Renders a tabular codebook including attributes and data summaries. The table is generated using DT::datatable() and can be exported to CSV, Excel, etc.

Usage

codebook_items(results, indent = "##")

Arguments

results

a data frame, ideally with attributes set on variables

indent

add # to this to make the headings in the components lower-level. defaults to beginning at h2

Examples

data("bfi")
## Not run: 
# doesn't show interactively, because a html widget needs to be registered
codebook_items(bfi)

## End(Not run)

rubenarslan/codebook documentation built on Nov. 13, 2022, 12:40 p.m.