I want to get rid of the Station.ID column in the table below by distributing (Spread?, Reshape?) it to the month columns so that I get columns such as Jan_323, Feb_323, ... , Jan_452, Feb_452, ...
Have:
Station.ID Year Jan Feb Mar Apr May Jun
323 1995 31.3 25.2 19.0 15.0 .. ..
323 1996 28.0 20.2 17.5 14.0 .. ..
323 ... .. .. .. .. .. ..
... ... .. .. .. .. .. ..
452 1995 16.2 .. .. .. .. ..
452 1996 14.3 .. .. .. .. ..
452 ... .. .. .. .. .. ..
.. ... .. .. .. ..
Want:
Year Jan_323 Feb_323 Mar_323 ... Jan_452 Feb_452 Mar_452 ...
1995 31.3 25.2 19.0 ... 16.2 ... ... ...
1996 28.0 ... ... ... 14.3 ... ... ...
1997 ... ... ... ... ... ... ... ...
1998 ... ... ... ... ... ... ... ...
.... ... ... ... ... ... ... ... ...