For example i have a dataset that looks like this
ID| Date Column| Col3|Col4
1 2021-02-06 Y N
2 2021-03-02 Y N
3 2020-01-12 N N
4 2021-04-07 Y Y
5 2020-03-04 Y Y
My outcome should be
x <- ("2021-04-07")