## To get start, end and sequence of previous quarter
previousquarter <- previous_quarter()
## To get vector of date sequences
previous_quarter(part = "sequence")
previous_quarter()$sequence
seq(previousquarter)
## Get number of days of previous quarter
day_nums <- previous_quarter(part = "length")
previous_quarter()$length
length(previousquarter)
Run the code above in your browser using DataLab