I am working with Census data and I need to combine four character columns into a single column.
Example:
LOGRECNO STATE COUNTY TRACT BLOCK 60
You can use tidyverse package:
tidyverse
DF %>% unite(new_var, STATE, COUNTY, TRACT, BLOCK)