A dataset I am working with has NA values as \\"\\" I need to recode this into NA in order to collapse some variables but I have not been able to escape the double quotes successfully. I have tried treating the variable as characters and used mutate(x = case when(X == ' \\"\\" ' ~ NA)) as well as mutate(x = fct_recode(x, NULL = '\\"\\"' ) with no luck as it recognizes all values as NA's once I do both approaches. The values I am interested in keeping both start with " and end with " but have numerical values in between.
Any help would be greatly appreciated. Thank you in advance.
 
    