I have 2 datasets
x_data has 130 variables (columns)
y_data has 126 variables (columns)
Both data sets have information I need but after doing
intersect(names(x_data), names(y_data))
Only 19 columns actually match.
For example, x_data has the column "Frist Name" while the column also exists in y_data but as "FirstName".
There are multiple examples of this but there also may be columns that exists in 1 dataframe but not the other.
If there a fast way for me go edit these columns so they can have the same name?
My end goal is to rbind() to merge these datasets vertically.