Hi i need to pass from character to date format My date in chr format is like : "2020-W14" so i need to pass it to date format
I m trying this with lubridate package;:
year_week="2020-W14"
date=as_date(year_week,format="%Y-W%W")
I get this date from this chunk of code but it is incorrect
2020-01-16
Any idea? thanks