reconhub / aweek

Convert dates to arbitrary week definitions :calendar:
https://www.repidemicsconsortium.org/aweek
Other
17 stars 4 forks source link

`factor_aweek()` has fencpost issue #22

Closed zkamvar closed 5 years ago

zkamvar commented 5 years ago

This largely has to do with how we want to handle seq.Date

library("aweek")
factor_aweek(as.aweek(c("2019-W08-7", "2019-W11-1")))
#> <aweek start: Monday>
#> [1] 2019-W08 <NA>    
#> Levels: 2019-W08 2019-W09 2019-W10

Created on 2019-06-10 by the reprex package (v0.3.0)