rename_items | R Documentation |
Rename items based on dic information.
rename_items(
data,
pattern = "{item_label}",
max_chars = NULL,
chars = max_chars
)
data |
A data frame |
pattern |
A character string with the syntax of the glue function (see
|
max_chars, chars |
If not NULL, only the first n chars of the resulting label will be applied. |
A renamed data frame
ex_itrf |>
rename_items(pattern = "{reverse}{name}: {label}") |>
names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.