Replace accented characters with their non-accented versions. Useful when dealing with languages like French, Spanish or Portuguese, where accents can lead to compatibility issues during data analysis.
unaccent(x, remove.nonconverted = FALSE, ...)
A character vector.
Should the function remove unmapped encodings? (Default: FALSE)
Parameters passed to textclean::replace_non_ascii
A character vector of strings without accents.
unaccent('façile')
#> [1] "facile"
unaccent('Montréal')
#> [1] "Montreal"