I am working on automating some spreadsheet work i do, and when using group_by and summarize from dplyr the output doesn't work if the column name has a space in it. I was able to correct after doing a general rename (which i have below).
Is there a more automated way rename column names that have a space in them?
names(dataframe)[3] <- paste("Amount")