Exercise

Practicing reshaping data

The pivot_wider() verb allows us to quickly reshape or stack and transpose our data, making it easier to mutate().

Instructions

100 XP
  • Append tidy_twitter to the NRC sentiment dictionary.
  • Count by complaint label and sentiment.
  • Widen the sentiment and count columns.