I have a data set called Data_T_2Partner that has a column titled "Order" which contains strings. I want to filter out rows in which the comments entry contains the word OTW
I read the data into R from an xlsx file. I have tried this function:
Data_T_2Partner <- Data_T_2Partner %>%
filter("OTW", Order Channel Code)
However, I get an error that says:
Error: unexpected symbol in:
"Data_T_2Partner <- Data_T_2Partner %>%
filter("OTW", Order)
# Item Item description Order
# 1 Mocha OTW
# 2 Venti MOP
# 3 Blonde OTW
# 4 Iced CAFE