Description Usage Arguments Value
View source: R/preprocess_data.R
Perform pre-processing tasks on the text data including removing punctuation and stopwords. This function also produces a long styled data set in preparation for exploratory data analysis.
1 2 3 4 5 | preprocess_data(
labelled_raw,
unlabelled_raw,
topics,
text_vars)
|
labelled_raw |
A dataframe that details whether the comment belongs to a topic using a binary 0 or 1. |
unlabelled_raw |
An unlabelled dataframe that will be used for predictions. |
topics |
A list containing each topic. |
text_vars |
A list containing each text variable to be processed. |
A pre-processed labelled dataframe, unlabelled dataframe, and long labelled dataframe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.