So I've got a data frame that looks something like this,
Date Age_group
1 01-06-2021 <17
2 01-06-2021 17-59
3 01-06-2021 >60
4 02-06-2021 <17
5 02-06-2021 17-59
6 02-06-2021 >60
7 03-06-2021 <17
8 03-06-2021 17-59
9 03-06-2021 >60
and goes on a long way. And I need every date converted to yyyy-mm-dd. I've tried
as.Date("01/06/2021", format="%d/%m/%Y")
But obviously that just changed them all to that exact date in said format. Bare with me I'm very new to r, any help would be really appreciated