R/prepare_words.R

Defines functions prepare_words

Documented in prepare_words

#' Prepare a word(s)
#' @param x word list (character/vector)
prepare_words <- function(x) {
  stringr::str_replace_all(toupper(x), " |-|'|\\.", "")
}
anthonypileggi/worrrd documentation built on Jan. 13, 2023, 11:15 a.m.