Learn R Programming

mariposa (version 0.7.3)

print.codebook: Print a Compact Console Overview of the Codebook

Description

Displays a concise one-line-per-variable table in the console, showing position, name, type, and label. The full HTML codebook with values, value labels, and frequencies is displayed in the RStudio Viewer.

Usage

# S3 method for codebook
print(x, ...)

Value

Invisibly returns the codebook object

Arguments

x

A codebook object from codebook()

...

Additional arguments (ignored)

Examples

Run this code
data(survey_data)
cb <- codebook(survey_data)
print(cb)

Run the code above in your browser using DataLab