filter data between two date period

find_dates <- function(x) x > as.Date("2001/1/1") & x < as.Date("2021/1/1")
...
filter(find_dates(release_date)

should work, but not tested because no reprex. See the FAQ: How to do a minimal reproducible example reprex for beginners.