I have a very basic question, tried a few things that are already on stack overflow, but somehow it does not work.
This is a head of my code:
STATE STATEFP GW_ratio.2000 GW_ratio.2005 GW_ratio.2010 GW_ratio.2015 SW_ratio.2000 SW_ratio.2005 SW_ratio.2010 SW_ratio.2015
1 AL 1 0.04247763 0.04742443 0.04685309 0.05630994 0.9575224 0.9525756 0.9531469 0.9436901
2 AR 5 0.62710731 0.64621860 0.67762854 0.68590438 0.3728927 0.3537814 0.3223715 0.3140956
3 AZ 4 0.50738010 0.48620606 0.41704896 0.45948459 0.4926199 0.5137939 0.5829510 0.5405154
4 CA 6 0.39589058 0.32538360 0.39230956 0.67370799 0.6041094 0.6746164 0.6076904 0.3262920
5 CO 8 0.18116832 0.18174957 0.13833921 0.14408643 0.8188317 0.8182504 0.8616608 0.8559136
6 CT 9 0.13035722 0.18318935 0.25172450 0.20938673 0.8696428 0.8168107 0.7482755 0.7906133
And I would like to have a frame that looks like this:
STATE - STATEFP - YEAR - GW_ratio - SW_ratio
I am lost, so would be splendid if someone could help me out!