spss_col_labels_vec: Extracts Column Labels from a Foreign Data Frame

Description Usage Arguments Value Examples

Description

This function extracts any foreign column labels from a data frame input. It searches the attributes of the data frame input for named values as $label.

Usage

1

Arguments

df

a data frame object to identify missing values

Value

Returns a characer vector with each column from the data frame input as a row and the corresponding foreign label (SPSS, Stata, SAS) for any applicable columns. Any columns with no foreign labels return NA values for the column_labels column.

Examples

1

smh-ej/XploreR documentation built on May 13, 2019, 4:46 p.m.