Very astute comment! I suspect you heard me swearing when pwd "suddenly" stopped working yesterday and it took me 30 minutes to remember getwd()!
However, I'm afraid that's not the answer to the issue.
this code:
SiteNames <- c("Booth's", "Otaki Estuary", "Kuku Estuary", "Te Hakari", "Otaki Ponds")
followed by:
BBGullHold9 <- filter(AnalysisData, Species %in% SpeciesList,Location %in% SiteNames)
works, but this code:
BBGullHold9 <- filter(AnalysisData, Species %in% SpeciesList,Location %in% c("Booth's", "Otaki Estuary", "Kuku Estuary", "Te Hakari", "Otaki Ponds"))
fails to find Booth's, but finds the others.
I would say that it is probably more elegant to create the variable SiteNames and so I have a solution (and I can also exclude the 1 site that I do not want, so I have 2 solutions), but I don't have a definitive answer as to why the first approach failed.
Many thanks for your assistance.
Cheers
Richard