1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to Text Analysis in R

Connected

练习

Practicing reshaping data

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

说明

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