I'm trying to read into R an excel sheet that uses multiple values for NA (specifically, "N/A" and "n/a"). If I try to give na= a list of strings it throws an error:
read_excel(path = "file.xlsx",
na = "N/A") #This works just fine
read_excel(path = "file.xlsx",
na = c("N/A", "n/a"))
Error in eval(substitute(expr), envir, enclos) : expecting a single value
Any ideas on how to read this in with both strings converted to NA? Or am I better off doing a find/replace once the data is in R?