lookup_table: Create a 'data.frame' of variable names and labels.

Description Usage Arguments Value

Description

Create a data.frame of variable names and labels.

Usage

1

Arguments

data

a data.frame with labels that you would like to convert to a table of variable names and labels

...

other arguments that can be passed to paste()

Value

a data.frame with three columns. The first is the names of the variables in data, the second is their labels, and the third are any value labels associated with each variable. If a certain variable does not have an variable label or value label it will be filled in with "". If there are one or more empty labels, a message will print listing the variables that do not have either variable and/or value labels.


ethan-young/esyr documentation built on May 15, 2019, 12:45 p.m.