I am trying to get the week number from my EventDate column which has YYYY-MM-DD data, at the moment I am writing SQL in R but if anyone has any idea how to write R code only would be great too.
I have tried Datepart but it didn't work.
e.g :
EventDate WeekNumber
2020-02-03 ?