ys_get_short | R Documentation |
Forms a short for a column (ycol
method) or columns (yspec
method). Use
purrr::map or purrr::map_chr to simply extract the short field.
ys_get_short(x, short_max = Inf, title_case = FALSE, ...)
x |
ycol or yspec object |
short_max |
if |
title_case |
|
... |
passed to short methods; see details |
ys_get_unit, ys_get_label, ys_get_short_unit
spec <- ys_help$spec()
ys_get_short(spec)
ys_get_short(spec$WT)
## Not run:
purrr:::map(spec,"short")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.