filtering dates

I am trying to filter data to just see dates before 2018-02-01

dplyr::filter(dataframe, dataframe$DATE<'2018-02-01')

With this command, I am still getting the February data in my outcome. Any ideas why?

Thanks in advance

edit: I know I could just do a <= '2018-01-31' but odd that my first thought isn't working

A reproducible example would be useful:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.