Have a data set that is too large to export to Excel (1,656,203 observations) and need to drop several years of observations in order to make it doable.
When I try the following code, it does not work:
drop if academicyearandperiod == 200020015
[This variable is a numeric/float variable and basically captures the academic year ("2000-2001") and reporting period ("5" = fall to spring, full academic year) for student-level files in the data set I am using.]
Is there something about my variable "academicyearandperiod" or the drop if command that would complicate this step?
When I run the code, I do not get an error message, but instead get a "(0 observations deleted)" message indicating that it is in some way not recognizing the observations that exist under this year. There are, in fact, observations under the year and period 200020015, but for some reason when I run this code, it is not recognizing them or counting them. Any advice?
When I try the following code, it does not work:
drop if academicyearandperiod == 200020015
[This variable is a numeric/float variable and basically captures the academic year ("2000-2001") and reporting period ("5" = fall to spring, full academic year) for student-level files in the data set I am using.]
Is there something about my variable "academicyearandperiod" or the drop if command that would complicate this step?
When I run the code, I do not get an error message, but instead get a "(0 observations deleted)" message indicating that it is in some way not recognizing the observations that exist under this year. There are, in fact, observations under the year and period 200020015, but for some reason when I run this code, it is not recognizing them or counting them. Any advice?
Comment