get_dic_attribute: Get a dictionary attribute of one or more variables.

View source: R/get_dic_attribute.R

get_dic_attributeR Documentation

Get a dictionary attribute of one or more variables.

Description

Get a dictionary attribute of one or more variables.

Usage

get_dic_attribute(data, attribute, duplicates = TRUE)

Arguments

data

A data frame with dic information

attribute

Name of label attribute

duplicates

If FALSE, duplicated attributes will be removed from returned vector.

Value

Vector of attributes. If an attribute is not present, NA is returned.

Examples

select_items(ex_itrf, subscale == "Int") |> get_dic_attribute("item_label")

jazznbass/scaledic documentation built on July 19, 2023, 12:50 a.m.