ys_flags: Extract flags from yspec meta data

View source: R/flags.R

ys_flagsR Documentation

Extract flags from yspec meta data

Description

Use ys_flags_chr() to get a character vector of all columns returned by ys_flags().

Usage

ys_flags(x, ...)

ys_flags_chr(x, ...)

Arguments

x

a yspec object.

...

tidy-select specification of flag names to select.

Value

ys_flags() returns a named list of flag column names. ys_flags_chr() returns a character vector of all flag columns returned by ys_flags().

See Also

ys_select_fl(), ys_factors_fl()

Examples


spec <- ys_help$spec()

ys_flags(spec, nm)

ys_flags_chr(spec, nm) 


metrumresearchgroup/yspec documentation built on Feb. 15, 2025, 5:42 p.m.