Hi, I would like to only keep the data from may of each year in a dataset of every month from 2014-2018. So, I only want May 2014,2015,etc. What code/ drop should I use? Thanks!
-
Login or Register
- Log in with
g keepdate = cond(month==5 & inrange(year,2014,2018),1,0) keep if keepdate
Comment