These functions are utilities to clear undesired characters from REDCap output.
stripHTMLTags(
x,
tags = c("p", "br", "div", "span", "b", "font", "sup", "sub"),
ignore.case = TRUE
)stripUnicode(x)
character, vector of content to be cleaned.
character, vector of HTML tags to remove from x
logical(1), should cases be ignored when matching
patterns? Defaults to TRUE.