Given a list of dataframes, like this
[[1]]
ID    X1   X2   X3   X4   X5
123   1    2    1    0    4
123   2    4    1    2    2
123   0    0    1    0    2
567   2    3    4    0    2
899   2    3    5    3    5
[[2]]
ID    X1   X2   X3   X4
123   7    1    3    2
452   1    3    6    3
899   2    1    4    2
[[3]]
ID    X1   X2   X3   X4   Y1
123   4    2    5    0    1
567   0    1    2    0    2
567   1    2    1    0    3
101   2    3    7    2    1
I want to aggregate all the dataframes by "ID" in all the other columns, the result in this illustration should be something like this
new_df
ID    X1   X2   X3   X4   X5   Y1
123   14   9    11   2    8    1
567   3    6    7    0    2    5    
899   4    4    9    5    5    0
452   1    3    6    3    0    0
101   2    3    7    2    0    1
This is only a illustration, the original list has 51 dfs and the original dfs have hundreds of columns, so the function cannot specify which columns will agreggate, instead should apply to all columns
Thanks in advance
 
     
    