dictionary: Search variable labels using regular expressions

Description Usage Arguments Value

View source: R/dictionary.R

Description

dictionary() searches variables that have a label attribute, like those created with Hmisc::label or some functions in haven, for patterns. Useful for searching large, labelled datasets.

Usage

1

Arguments

data

a data.frame

pattern

the pattern to search for

Value

a list with locations, names, and labels.


malcolmbarrett/mbmisc documentation built on May 17, 2019, 8:16 a.m.