between()
does work with dates, e.g.
dplyr::between(as.Date("2024-02-15"), as.Date("2024-02-14"), as.Date("2024-02-16"))
I suspect that TMData$DATE
may not be defined as a date, but it's impossible to know without a reproducible example:
between()
does work with dates, e.g.
dplyr::between(as.Date("2024-02-15"), as.Date("2024-02-14"), as.Date("2024-02-16"))
I suspect that TMData$DATE
may not be defined as a date, but it's impossible to know without a reproducible example: