I have a data set that looks like this
ID a b c d source file
1 3 4 7 23 feb2010.txt
2 2 1 2 47 feb2010.txt
1 3 4 7 26 march2010.txt
2 2 1 2 33 march2010.txt
1 3 4 7 28 april2010.txt
2 2 1 2 32 april2010.txt
I'd like the column names to read
ID a b c Feb10 March10 April10
1 3 4 7 23 26 28
2 2 1 2 47 33 32
My actual data set has more than just 2 unique ids. It has thousands of unique ids. Any help as to how to change this would be very much appreciated as most of the code I have tried hasn't worked yet.
Thank you!