I have in my data set a year with calendar week (CW), which needs to be converted to date. Unfortunately I didn't find the right function in lubridate package. It is easy to convert a date to CW but not vice versa.
I also tried the following:
as.Date(x="2019_2", format="%Y_%U")
[1] "2019-02-05"
as.Date(x="2019_2", format="%Y_%W")
[1] "2019-02-05"
Any idea how to deal with this?
Thanks in advance!