Bulk replacing Turkish characters in R


Turkish character sometimes became the menace for the data scientist. To avoid the risks you may want to change it with safe characters. To do that you can use this code: #turkce karakter donusumu to.plain <- function(s) { # 1 character substitutions old1 <- “çğşıüöÇĞŞİÖÜ” new1 <- “cgsiuocgsiou” s1 <- chartr(old1, new1, s) # 2…