1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Text Analysis in R

Connected

Exercise

Adding a splash of color

What about just the complaints? And let's add some color. Red seems appropriate. The wordcloud package has been loaded along with tidy_twitter.

Instructions

100 XP
  • Compute the word counts only for the complaints and assign it to word_counts.
  • Create a complaint word cloud of the top 50 terms, colored red.