Standardize removes accents, blank spaces, special caracters from a string
str_standardize(string, prefix = "var_")
string | a string |
---|---|
prefix | a string |
a standardized string
See http://stackoverflow.com/a/36898175/1967500 for the tricks to remove accents
str_standardize("2017/07/07", prefix = "date_")#> [1] "date_2017_07_07"str_standardize("code externe de l'action")#> [1] "code_externe_de_l_action"