R/tidy_up-use_underscore.R
use_underscore.Rd
Substitute dots in column names with underscores.
use_underscore(data)
data | data frame |
---|
data frame with updated column names
names(airquality)#> [1] "Ozone" "Solar.R" "Wind" "Temp" "Month" "Day"#> [1] "Ozone" "Solar_R" "Wind" "Temp" "Month" "Day"