This is useful if you want to fill in missing values that should have been observed but weren't. For example, date_seq(c(1, 2, 4, 6), 1) will return 1:6.
Examples
date_seq(c(1, 2, 4, 5, 10), 1)
#> [1] 1 2 3 4 5 6 7 8 9 10
This is useful if you want to fill in missing values that should have been observed but weren't. For example, date_seq(c(1, 2, 4, 6), 1) will return 1:6.
date_seq(c(1, 2, 4, 5, 10), 1)
#> [1] 1 2 3 4 5 6 7 8 9 10