The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

name

R-CMD-check

Organizes functions for consistent column naming for tibbles and data.frames.

Installation

You can install the current version of name from GitHub.

devtools::install_github('name')

Example

library(name)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
data(mtcars)

We can add a prefix:

mtcars <- mtcars %>% 
  rename_with(\(x) add_pref(x, 'pref_'))

And similarly a suffix:

mtcars <- mtcars %>% 
  rename_with(\(x) add_suff(x, '_suff'))

Or a replace a phrase:

mtcars <- mtcars %>% 
  rename_with(\(x) repl_phrase(x, '_hp', '_hitpoints'))

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.