Word Clouds in R: Useful & Beautiful Word Clouds with wordcloud2

  Рет қаралды 12,128

Dataslice

Dataslice

Күн бұрын

Word Clouds in R: Useful & Beautiful Word Clouds with wordcloud2
In this video, I show you how to make word clouds with the tm library and wordcloud2 library in just a few minutes. We first start by cleaning our text, then building our word cloud. We don't just stop there though, because there are lots of potential improvements you can make to your wordcloud.
Code: github.com/abhimotgi/dataslic...
Kaggle Medium Posts Dataset: www.kaggle.com/dorianlazar/me...
Word Cloud 2 Documentation: cran.r-project.org/web/packag...
Marti Hearst's Medium Article: / improving-word-clouds
0:00 Intro & Setup
1:44 Create corpus and clean text
3:44 Create term document matrix
5:14 Build word cloud
6:14 Improve your word cloud
12:09 Outro

Пікірлер: 23
@DrDJ
@DrDJ 3 жыл бұрын
You deserve an award for this. Best explanation out here. Thanks!
@lieyoushin
@lieyoushin 3 жыл бұрын
thank you for also adding the text cleaning process, i've been looking for tutorials of that step
@globalalliancepremiummembers
@globalalliancepremiummembers 3 жыл бұрын
Your videos are excellent and really well produced. Looking forward to more!
@arcade_wizard
@arcade_wizard 3 жыл бұрын
Thank you so much for making this video! It was really well made, and broke things down very effectively!
@dataslice
@dataslice 3 жыл бұрын
Glad you enjoyed it!
@imdadood5705
@imdadood5705 3 жыл бұрын
These videos are gold!! Keep them coming!
@nursena06
@nursena06 2 жыл бұрын
Love it! You explained it so well! Thank you :)
@jacquesbaudoin9348
@jacquesbaudoin9348 2 жыл бұрын
Best video I watched on the topic. Thank you.
@yangzhimiao9367
@yangzhimiao9367 2 жыл бұрын
Thank you so much for this video. It is really clear and helpful. Looking forward to ur other tutorials!
@amosarubi8468
@amosarubi8468 2 жыл бұрын
Thank you so much!
@isaiascandido5617
@isaiascandido5617 3 жыл бұрын
PERFECT.
@douglasaraujo9763
@douglasaraujo9763 4 жыл бұрын
Many thanks for this, I really appreciated your advice to use word clouds to compare things rather than just show something without any other reference point. I also liked the welcome surprise of that font package, definitely going to use it as well! All the best.
@dataslice
@dataslice 4 жыл бұрын
Glad to hear it! Thanks for watching!
@suganyaragunath9348
@suganyaragunath9348 3 жыл бұрын
You videos are very informative. I'm eagerly waiting for your upcoming videos
@etupia2569
@etupia2569 2 жыл бұрын
I really like your explanations. 😌keep going. ❤️
@bassamsaleh8034
@bassamsaleh8034 2 жыл бұрын
I hope he returns to KZbin 🙏. He's the best in explanation. Or even if he creates a course.
@mashtonish
@mashtonish 4 жыл бұрын
wordclouds are great... although what's been difficult is getting them to reflect nicely in an rmarkdown document. wordcloud2 puts some neat js w/ it while wordcloud makes a static image -- so you may have to utilize htmlwidgets or plotly. what would be great is a series on incorporating libraries for text analysis. it's intuitive to put together an x-y graph with some count of a discrete variable to gain some understanding... but what would be good approaches to get value out of textual data?
@dataslice
@dataslice 4 жыл бұрын
I think this is a great question but I don’t know if I can give an exact answer. I think it really depends on what your end goal with the data is. If you’re looking for a more quantitative analysis, it might be worth looking into topic modeling, sentiment analysis (although many may argue isnt that reliable), and n-gram token frequencies (but plotting instead of making a word cloud) just to name a few. These are all things I hope to cover in future videos but there are great resources already out there I’d recommend taking a look at!
@djangoworldwide7925
@djangoworldwide7925 2 жыл бұрын
You're a fanomena. Can fit this into 5 classes of r course
@andrea-mj9ce
@andrea-mj9ce Жыл бұрын
Is is possible to control the speed at which the words are displayed?
@jrdnw
@jrdnw 3 жыл бұрын
Cannot thank you enough
@shadowknight20042002
@shadowknight20042002 2 жыл бұрын
when i run this code df = df %>% filter(nchar(as.character(word)) > 2, word != "don’") i get this error below Error in `filter()`: ! Problem while computing `..1 = nchar(as.character(word)) > 2`. Caused by error in `nchar()`: ! invalid multibyte string, element 300 Run `rlang::last_error()` to see where the error occurred.
@superfreiheit1
@superfreiheit1 10 ай бұрын
Why he speaks so fast?
Create a Word Cloud in R
7:15
math et al
Рет қаралды 14 М.
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 8 МЛН
Scrape Websites with Regular Expressions
10:51
Dataslice
Рет қаралды 8 М.
Web Scrape in Google Sheets: IMPORTXML Function (Part 2)
8:58
Rich Iannone || Making Beautiful Tables with {gt} || RStudio
34:05
Text analysis / mining in R - how to plot word-graphs
25:38
Tom Henry - data science with R
Рет қаралды 28 М.
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 8 МЛН