Hi everyone,
I have a panel dataset with countries and years from 1999 to 2019. However, for each country there are some repeated years. For example, Bolivia has 2002 recorded 4 times. How do I drop the repeated years for each country while keeping the first occurrence? Meaning that I want 2002 to appear once in Bolivia, and the same for other repeated years for other countries.
Many thanks,
Yasmine
0 Response to How to drop repeated years in a panel dataset
Post a Comment