spss_code_labels: Extract Code Labels for a Foreign Labelled Column

Description Usage Arguments Value Examples

Description

This function extracts any foreign code labels of a specified column from a data frame input. This is analagous to the levels function that extracts the labels or levels from a factor data type.

Usage

1

Arguments

df

a data frame object to identify missing values

vars

a column name (uses standard evalauation) in the data frame to examine any foreign labels

Value

a data frame containing each code or label associated with each unique value (or level) found in the specific column. If there are no foreign labels, then a zero-dimnensional tibble is returned

Examples

1

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