Dear All,


I have a dataset that looks like this:

year a b c ...
2000 value value value
2001 value value value
2002 value value value
I would like to convert the variable names a, b, c into values of a new ID variable, for then being able to declare it as a panel.

The actual number of rows and columns is very large.

I have beeen reading through reshaping help but cant seem to make it work.

Any help would be very much appreciated.