Hello All,
I am in need of your help.
I have a scenario. I have two columns, one titled HIV_Date and the other x1st_service
the dataset I am using is just called Patient_Demographics
what I want to do is in each column (HIV_Date & x1st_service) I want to filter out the year 2021 so just 2021 cases show.
I used the coding below, but I got back 0 rows
Demographic.Data %>%
filter(HIV.Date == 2021 | X1st.Service == 2021)
0 rows | 1-8 of 17 columns = output
What would the proper method be to be able to filter out the data set by this ask? I have not converted the dates by using MDY or as.date either.
All the help is greatly appreciated.
Thank you!