Removes paces, special characters and capitals from string vector and converts unknowns to NA.
pretty_text(
v,
remove_after = TRUE,
remove_punc = TRUE,
remove_white = TRUE,
add_na = TRUE
)
vector, with characters formatted accordingly.
vector, integer or sting vector with numerical values. Defaults to TRUE.
boolean whether to remove text after -. Defaults to TRUE.
boolean, whether to remove punctuation marks. Defaults to TRUE.
boolean, whether to remove white spaces. Defaults to TRUE.
boolean, whether to change text indicating NA to NA values in R. Defaults to TRUE.