Extract attribute. Returns NA if none
get_attr(data, attr = NULL)
data
: vectorattr
: attribute namecharacter vector
attr(mtcars$mpg, "label") <- "testing" do.call(c, sapply(mtcars, get_attr)) ## Not run: mtcars |> numchar2fct(numeric.threshold = 6) |> ds2dd_detailed() ## End(Not run)
Useful links