Hello friends,
I am working with data from Databank; I get each year as a variable where different entries represent variables from the Databank. For example, for Ecuador, I get yr1970, the first entry will be total natural resources rents and the second GDP-per-capita. I want to restructure it so that I have three variable: Year, GDP-per-capita, and total natural resources rent, where the first entry for year is (say) 1970, and the first entries for the other variable match that.
Thank you!
I am working with data from Databank; I get each year as a variable where different entries represent variables from the Databank. For example, for Ecuador, I get yr1970, the first entry will be total natural resources rents and the second GDP-per-capita. I want to restructure it so that I have three variable: Year, GDP-per-capita, and total natural resources rent, where the first entry for year is (say) 1970, and the first entries for the other variable match that.
Thank you!
Comment