rename_with_loud | R Documentation |
Rename with, but Loudly
rename_with_loud(.data, .fn, .cols = everything(), ...)
.data |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details. |
.fn |
A function used to transform the selected |
.cols |
< |
... |
For For |
.data renamed
tb <- tibble::tibble(pop = 10, pop_2020_est = 9, pop_white_2020 = 8, pop_black_2020 = 2)
rename_with_loud(tb, \(x) rem_suff(x, '_2020'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.