Quickly plot the top frequency tokens in a data set.

plot_tokens_counter(df, text_var = .data$mention_content, top_n = 20)

Arguments

df

Data Frame or Tibble object

text_var

Name of the text variable

top_n

Number of words to count (arranged in descending order of frequency)

Value

ggplot object