View source: R/Basic_CleanUp.R
spellCheck | R Documentation |
This is a helper function for finding and replacing from lexicons like the event list. The lexicons are all named lists where the name is the text to replace and the value what it should be replaced with It uses fuzzy find and replace to account for spelling errors
spellCheck(pattern, replacement, x, fixed = FALSE)
pattern |
the pattern to look for |
replacement |
the pattern replaceme with |
x |
the target string |
fixed |
whether the pattern is regex or not. Default not. |
This returns a character vector
L <- tolower(stringr::str_split(HistolType(),"\\|"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.