I have a period that I want to divide into weeks from Monday to Sunday.
Using lubridate, I can query the week number of a date:
lubridate
library(lu