HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to analyze text using R with ggraph + tidytext for text analysis

30,613 views July 28, 2020 25:38

Watch on YouTube
ChannelData Science with Tom

Chapters

Description from the creator

🔔 *Subscribe for weekly R videos:* youtube.com/channel/UCb5aI-GwJm3ZxlwtCsLu78Q?su…

Here's an easy approach to start using R to generate insights from text data. I'll take you through the process of exploring themes in text data by visualizing the relationships between words, using a real dataset with user reviews of the Animal Crossing game. To do this, we'll use R, the tidytext package, and the ggraph package. This is an intro to the basics of text analysis in R.

🎉 *Enjoyed this video?* Leave a comment below to share what you liked the most!

0:00 Intro
1:05 Load packages
2:00 Read user reviews data
2:25 Basic exploratory data analysis
3:37 Extract words
6:55 Calculate word counts & correlations
9:20 Plot word relationships
15:35 Clean code & build the function
19:55 Generate plots for NEGATIVE reviews
23:29 Generate plots for POSITIVE reviews
25:20 The end!! (SUBSCRIBE!! :) )

Data used: Animal Crossing user reviews, github.com/rfordatascience/tidytuesday/blob/mas…

About this tutorial

Data Science with Tom published this 25:38 video tutorial on July 28, 2020. It has been watched 30,613 times on YouTube.

Duration
25:38
Published
July 28, 2020
Views
30,613
Likes
670

Tags

Share

This tutorial in other languages