## To get start, end and sequence of this weeks
thisweek <- this_week()
## Get this week with start on Sunday
thisweeksun <- this_week(week_start = 7)
## To get vector of date sequences
this_week(part = "sequence")
this_week()$sequence
seq(thisweek)
## Get number of days of this 2 weeks
day_nums <- this_week(part = "length")
this_week()$length
length(thisweek)
Run the code above in your browser using DataLab