I am trying to change my data, but I have a difficult time. The data that I have looks something like this:
date abc
I want to modify the data (presumably using arrays) to get this:
date val var ============= 1996 5 a 1997 4 a 1998 1 a 1996 7 b 1997 2 b 1998 9 b 1996 8 c 1997 3 c 1997 6 c
So, I essentially put the variables (a, b, c) together with the corresponding date and variable name.
Thanks in advance!
source share