data_dict: Create a Data Dictionary from a data frame with Variable and...

View source: R/data_dict.R

data_dictR Documentation

Create a Data Dictionary from a data frame with Variable and Value Labels.

Description

This function mimics exported objects from SPSS. A table is returned, summarising the variable and value labels that exist in the data frame.

Usage

data_dict(x, max_char = 32760)

Arguments

x

A data frame object to be passed through.

max_char

Maximum character allowed on Variable and Value label columns.

Value

a tibble


martinctc/surveytools documentation built on Nov. 21, 2024, 10:48 p.m.