The World_Development_Indicators.txt dataset includes many outcomes from many countries over many years. The dataset is in “long” format. We want to make this into a wide format. Each observation should be a country-year, with the variables as separate columns. Use Stata to make the dataset into this format. Hint: the way I did this was to first use the “reshape” option (with the string option), while also dropping those observations with missing countryname. Then I generated a variable for each “seriesname” and then finally collapsed the data to have 1 observation per country-year.
Help with stata commands please