ys_get_label: Get label

View source: R/ys-get.R

ys_get_labelR Documentation

Get label

Description

Forms a label for a column (ycol method) or columns (yspec method). Use purrr::map or purrr::map_chr to simply extract the label field.

Usage

ys_get_label(x, ...)

Arguments

x

ycol or yspec object

...

passed to label methods

See Also

ys_get_short, ys_get_short, ys_get_short_unit

Examples

spec <- ys_help$spec()

ys_get_label(spec)

ys_get_label(spec$WT)
## Not run: 
purrr:::map(spec,"label")

## End(Not run)

metrumresearchgroup/yspec documentation built on Dec. 22, 2024, 1:37 a.m.