summary.codebook: Detailed Console Summary of the Codebook
Description
Creates a detailed summary object for console display, showing per-variable
information with toggleable sections. Use this when you want detailed
text output without opening the HTML Viewer.
Usage
# S3 method for codebook
summary(
object,
overview = TRUE,
variable_details = TRUE,
value_labels = TRUE,
digits = 3,
...
)
Value
A summary.codebook object (printed by print.summary.codebook())
Arguments
- object
A codebook object from codebook()
- overview
Show dataset-level overview? (Default: TRUE)
- variable_details
Show per-variable detail blocks? (Default: TRUE)
- value_labels
Show value labels within variable details? (Default: TRUE)
- digits
Number of decimal places for numeric output (Default: 3)
- ...
Additional arguments (ignored)
Examples
Run this codedata(survey_data)
cb <- codebook(survey_data)
summary(cb)
summary(cb, value_labels = FALSE)
Run the code above in your browser using DataLab