Hi Everyone,
I have a list variable that is a list of dates ranging from 2008-2016. I'd like to recode those dates into biweekly periods. So essentally a variable with 26 categories and if the date falls within that period, it would be recoded as such.
The result would look like this:
Date | BiweeklyVariable |
1/1/2016 | 1 |
1/1/2015 | 1 |
1/30/2016 | 2 |
1/30/2015 | 2 |
2/1/2016 | 3 |
2/1/2016 | 3 |
Any help would be greatly appreciated!
Thanks