remove_accent: Remove accents.

Description Usage Arguments Value Author(s) Examples

View source: R/remove_accent.R

Description

Replace accented characters (ptBRA) by the same character without accent. In the case of "\'", the function replaces by " ".

Usage

1

Arguments

txt

A string or a vector of strings.

Value

A string or vector of strings without accents.

Author(s)

Davi Moreira.

Examples

1
2
3
4
remove_accent("áéíóú")

txt <- c("áéíóú", "ÁêÍõúç", "caixa d'água")
remove_accent(txt)

davi-moreira/txt4cs-pkg documentation built on Nov. 4, 2019, 9:42 a.m.