if I have this dataframe:
df <- tibble(code = c("ABC", "DEF", "GHI"))
and I have the following values:
my_values <- c("ABC","GHI")
How can i check that my object my_values is found inside the dataframe df and return a single TRUE boolean value?
I do not care for how many times the values appear I just want to return a singular TRUE boolean if any or all of the values from my_values appears in the dataframe column called code?
My desired result is the single boolean TRUE - i'm stuck on this and have been using the %in% operator but to no avail.