Hi,
I try to use World Development Indicators data in Stata. I import the excel file from world bank by using insheet command.
Then, I find out "wdireshape" is useful to reshape WDI data from wide into long.
I type exactly the same code as shown in example in "help box":
wdireshape v1-v57, prepend(yr) ctyname(countryname) sern(seriesname) ctycode(countrycode) sercode(seriescode)
But, I have this error code:
yr1 ambiguous abbreviation
r(111);
I don't understand why. I have read the author Jeanty's paper, but no explanation! I search google, but still cannot find any answers.
Please someone helps me. Thank you so much!!
I try to use World Development Indicators data in Stata. I import the excel file from world bank by using insheet command.
Then, I find out "wdireshape" is useful to reshape WDI data from wide into long.
I type exactly the same code as shown in example in "help box":
wdireshape v1-v57, prepend(yr) ctyname(countryname) sern(seriesname) ctycode(countrycode) sercode(seriescode)
But, I have this error code:
yr1 ambiguous abbreviation
r(111);
I don't understand why. I have read the author Jeanty's paper, but no explanation! I search google, but still cannot find any answers.
Please someone helps me. Thank you so much!!
Comment