I have a time-series dataset, including more than 200 countries and years between 2000 and 2021. My dataset has three columns: Country, year, and value. I am trying to fill the country column without copy-paste and dragging the first item down. This will be panel data. In each unit (row), the line starts with the country name, as you see in the photo. Afghanistan -for instance- should be written next to all years. I have my country names which correspond to the year 2000. But, there should be country names for all the years between 2000 and 2021. I add a photo of my spreadsheet. I want to handle this in STATA. I add a photo of the excel document.
Thank you so much,
Thank you so much,
Comment