I am trying to recode variable in R SQL. Below is syntax for the same.
Data[,1] <- recode(Data[,1]," 'Yes' = 1; 'No' = 0 " )
But when we use single quote in R SQL (') it terminate the R SQL command, in R SQL we had to write R script within two single quotes
Can anyone help me here if I can write recode syntax without single quote in R, or is there any alternate option for R SQL