codebook: Generate a codebook

View source: R/codebook.R

codebookR Documentation

Generate a codebook

Description

[Stable]

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).

Usage

codebook(data)

Arguments

data

The dataset for which the codebook is to be generated.

Value

The input dataset is returned invisibly, allowing codebook() to be used within a data pipe line.

See Also

Other Data Management: append(), count_functions, cut(), tag_duplicates()

Examples

codebook(mtcars)

codebook(iris)

labelled::var_label(iris) <- c(
	"sepal length", "sepal width", "petal length",
	"petal width", "species"
)
codebook(iris)


myominnoo/mStats documentation built on Nov. 29, 2023, 2:36 a.m.