I need to "re-shape" some data automatically, but I don't know how to do it.
The format of my data is the following:
Code:
Year Country1 Country2 Country3
1800 1 2 3
1900 3 2 1
2000 6 6 6
Code:
Country# Year Value
Country1 1800 1
Country1 1900 3
Country1 2000 6
Country2 1800 2
Country2 1900 2
Country2 2000 6
Country3 1800 3
Country3 1900 1
Country3 2000 6
Thank you for your attention.
0 Response to How do I reshape this data automatically?
Post a Comment