Do you like this way of doing things?
It would be helpful if you could create your own data for me next time.
library(tidyverse)
# your own data
df<- tibble::tibble(A=1,B=1,C=1,D=1,E=1)
names(df)<- c("BABACAR.THIOMBANE","DAMEN.THACKER",
"GABE.QUINNETT","JAVARY.CHRISTMAS","SCOTT.BLAKNEY")
df
# change names
names(df)<- c("Babacar Thiombane", ......)
# use rename
df %>% rename("Babacar Thiombane"=BABACAR.THIOMBANE)
#snakecase lib
install.packages("snakecase")
df %>%
names() %>%
str_replace_all("\\.","-") %>%
snakecase::to_upper_camel_case(names(df)) %>%
str_replace_all("-"," ")
As you may know, it is not advisable to enter spaces or dot signs in the column names of R.
It can cause bugs.
The various packages of R do not support such column names.
Try using janitor::clean_names() to find out the best names.