Let\'s assume I have the following dataframe:
df = data.frame(Date = seq(as.Date("2001-01-01"), as.Date("2020-12-31"), by = "day"