Spaces removed, runs of dashes and dots replaced by _, upper case
(optional), names made unique.
Examples
clean_colnames(data.frame(`nfl v0` = 1, `il-6.v0` = 2, check.names = FALSE))
#> NFLV0 IL_6_V0
#> 1 1 2
Spaces removed, runs of dashes and dots replaced by _, upper case
(optional), names made unique.
clean_colnames(data.frame(`nfl v0` = 1, `il-6.v0` = 2, check.names = FALSE))
#> NFLV0 IL_6_V0
#> 1 1 2