#' Clean Text
#'
#' Clean Text
#' @param x a string
#' @return a vector of strings
#' @export
clean_text <- function(x){
return(tolower(unlist(strsplit(gsub("[^[:alnum:] ]", "", x), " +"))))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.