R/plot_tokens_counter.R
plot_tokens_counter.Rd
Quickly plot the top frequency tokens in a data set.
plot_tokens_counter(df, text_var = .data$mention_content, top_n = 20)
Data Frame or Tibble object
Name of the text variable
Number of words to count (arranged in descending order of frequency)
ggplot object