I am trying to locate errors within a data frame and highlight them. I can subset the values I want (see example code), but I don't know how to highlight the desired values upon export (i.e. the instances where "90210" or "Doctor" appear in df1).
I know you can't highlight a CSV, so exporting as an XLSX is probably the way to go.
That column will be TRUE or FALSE depending on the tests. You can then easily filter for those rows and conveniently use functions to process them in place.