I have 4 datasets and for analysis, we need to merge them into one
How to do it ?
Also I have second dataset Q2,whose columns are not in sync as per the other dataset,How to rename it
Also if i am trying to rename ,it is shwoing errors
library(dplyr)
Q2 <- Q2 %>% rename(V1= trip_id, V2=start_time, V3=end_time, V4=bike_id, V5=trip_duration,V6=from_station_id, V7=from_station_name, V8=to_station_id, V9=to_station_name, V10=user_type, V11=gender, V12=birth_year)
Error in UseMethod("rename") :
ERROR
no applicable method for 'rename' applied to an object of class "list"