cas_count_total_words | R Documentation |
Count total words in a dataset
cas_count_total_words(
corpus,
pattern = "\\w+",
text = text,
group_by = date,
ignore_case = TRUE,
n_column_name = n,
locale = "en"
)
corpus |
A textual corpus as a data frame. |
pattern |
Defaults to pattern commonly used to count words. |
text |
Defaults to |
group_by |
Defaults to NULL. If given, the unquoted name of the column to be used for grouping (e.g. date, or doc_id, or source, etc.) |
ignore_case |
Defaults to TRUE. |
n_column_name |
Defaults to |
locale |
Locale to be used when ignore_case is set to TRUE. Passed to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.