term_counts counts the occurences and computes shares of unique
terms in a text source. Expects the result of
terms_by_date or its variations as input.
term_counts(termsByDate)
| termsByDate | a dataframe as returned by |
|---|
a dataframe with three columns listing all unique terms in the
provided text source, where n_term is the total number of occurences
in the text source and term_share the share relative to all other
terms; if no stemming has been applied the term and token in the result are
identical