Description Usage Arguments Value
takes imported one-line-per-row data and prepares it for later analysis
1 2 3 4 5 6 7 | format_data(
.data,
lemmatize = TRUE,
stopwords = TRUE,
sw_lexicon = "snowball",
addl_stopwords = NA
)
|
.data |
tibble with one line of text per row |
lemmatize |
boolean, whether to lemmatize or not |
stopwords |
boolean, whether to remove stopwords or not |
sw_lexicon |
string, lexicon with which to remove stopwords |
addl_stopwords |
char vector of user-supplied stopwords |
a [tibble][tibble::tibble-package] with one token per line, stopwords removed leaving NA values, column for analysis named "text"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.