In this video, I show you how to create a word cloud in R, clean the data and export to png.
📁 Dataset used -
https://www.kaggle.com/datasets/jakeb1090/julynps
📁 R Script file -
https://data.world/deanchereden/survey/workspace/file?filename=R+-+Wordcloud.Rmd
📁 tm package documentation -
https://rdrr.io/rforge/tm/man/
📁 Wordcloud2 package documentation -
https://cran.r-project.org/web/packages/wordcloud2/vignettes/wordcloud.html
🔖c h a p t e r s 🔖
00:00 - Intro
00:38 - Import dataset
00:58 - Clean dataset
02:39 - Load in packages
03:55 - Create a corpus
05:16 - Auto remove spaces, words etc. using tm
09:27 - Create a word count table
12:36 - Filter out set words using dplyr
13:13 - Create a word cloud using wordcloud2
13:54 - Change the size & shape of the wordcloud
14:41 - Export to png
💌 My email -
[email protected]
🌍 My website - https://www.deanchereden.com
🐦 Twitter - https://twitter.com/deanchereden
🎵 Music - Misha, Jussi Halme - Higher https://chll.to/4ec991f9
🙌 Follow Misha
・ SoundCloud: https://chll.to/386e721b
・ Spotify: https://chll.to/5f0bc9ba
・ Apple Music: https://chll.to/5a239af3
・ Chillhop: https://chll.to/2b2bc310
🙌 Follow Jussi Halme
・ Spotify: https://chll.to/dd4a82d2
・ Apple Music: https://chll.to/4961c878
・ Chillhop: https://chll.to/eb17b45e
🎶 Listen to Chillhop Music -
https://youtu.be/kpO-nyGEBJ4