Hi all,
I hope you could help me because I am completely stump by this problem. I have short data:
year and indicators for countries, e.g. AustraliaIndnation BelgiumIndnational etc. I would like to have countryInd to reshape my data, eg. AustraliaInd. I think I cannot write a loop using substr because the second part of the name differs slightly like Indnation Indnational
The only thing which comes to my mind is to rename my variables manually. However, it would be time consuming
I hope you could help me because I am completely stump by this problem. I have short data:
year and indicators for countries, e.g. AustraliaIndnation BelgiumIndnational etc. I would like to have countryInd to reshape my data, eg. AustraliaInd. I think I cannot write a loop using substr because the second part of the name differs slightly like Indnation Indnational
The only thing which comes to my mind is to rename my variables manually. However, it would be time consuming

Comment