Normalize text, removing spaces, common punctuation and non-ascii characters

normalize_text(text)

Arguments

text

A character vector

Value

A transformed character vector

Examples

normalize_text("§Bogotá, D.C.")
#> [1] "bogotadc"