I've got an issue with recode_factor function. For some reason, I can't replace NAs with 'missing'.
Here is my attempt
recode_factor(Data$i_ypsocweb, `1` = "yes", `2` = "no", missing = "missing")
The values aren't replaced and I'm seeing an error
NAs introduced by coercionUnreplaced values treated as NA as .x is not compatible. Please specify replacements exhaustively or supply .default
What's even worse, when I axtually open the data set and find the value, it hasnt been changed. I still get numerical values