codebook | R Documentation |
The codebook
function generates a codebook for the given dataset. It provides a summary
of the dataset's structure and characteristics, including variable names, types, missing
values, completeness percentages, unique value counts, and variable labels (if available).
codebook(data)
data |
The dataset for which the codebook is to be generated. |
The input dataset is returned invisibly,
allowing codebook()
to be used within a data pipe line.
Other Data Management:
append()
,
count_functions
,
cut()
,
tag_duplicates()
codebook(mtcars)
codebook(iris)
labelled::var_label(iris) <- c(
"sepal length", "sepal width", "petal length",
"petal width", "species"
)
codebook(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.