I am trying to filter an observation in RStudio. For some reason, the string is not being recognized when I try to filter the data. I am trying to filter Cell A12 (pictured) in R. I go to my dataset, copy and paste the exact values in R, but it is not being recognized.
Filter -
RMM_cleaned %>% filter(Disease == "Campylobacteriosis ENTERIC"
)
To which I receive
# A tibble: 0 × 2
# ℹ 2 variables: Disease <chr>, Alarm # <chr>
I am confused as to why the filter (as well as some other work in the script) are not recognizing the cells that have a line of text separated from another line of text. Is this some weird format or something? Is there a way I can extract the obs based on the text from the cell? Not sure if hyperlinks are a source of the problem either, the text does have a hyperlinked cell.
Any knowledge/guidance is appreciated.
Thanks.