get_overview: Overview over all variables and their labels in a data set

Description Usage Arguments Value

View source: R/haven_helpers.R

Description

get_overview returns a data.frame with variable names, variable labels, and value labels. It should be used with data imported by the haven package.

Usage

1
get_overview(x, trunc_varlab = 0, trunc_vallab = 0)

Arguments

x

A tibble (read in by the haven package).

trunc_varlab

The maximum number of characters for variable labels. Defaults to 0 for no truncation.

trunc_vallab

The maximum number of characters for value labels. Defaults to 0 for no truncation.

Value

A data frame with variable names, variable labels, and value labels.


jogrue/jogRu documentation built on Sept. 26, 2018, 6:58 a.m.