Converts a dataframe or tibble into a data.table object, removes stop words and patterns identified by a series of regular expressions.
clean_text(tbl)
tbl | the input dataframe |
---|
A transformed tibble dataframe with clean CC and CCDD text fields
if (FALSE) { data <- api_data %>% clean_text() }