Write R function that can, for a particular date of a response variable, extract a specified window of covariates as additional columns in the same row. Look into existing window functions
[ ] Debasmita's request: last 7 days gcc plus (t-7) to (t+22) days gcc from previous year
[ ] but ultimately flexible if circumstances change
Write R function that can, for a particular date of a response variable, extract a specified window of covariates as additional columns in the same row. Look into existing window functions
Also must account for or remove leap days