Removes punctuation and spaces from character string. Also makes it lower case.

clean_text(x)

Arguments

x

a character string to "clean"

Value

the cleaned character string (no punctuation, spaces or capital letters)

See also

Examples

clean_text("HELLO_World!!!")
#> [1] "helloworld"