R script to analyze two different music artist based on the words used in albums or songs. I have used geniusR library to gather the songs lyrics.
- geniusR (to mine song lyrics)
- tidyverse (to manipulate data and for visualization)
- tidytext (to tokenize dataset, remove stop words and count word frequency).
- install.packages("devtools")
- devtools::install_github("josiahparry/geniusR")
- install.packages("tidyverse")
- install.packages("tidytext")
Ed_Sheeran = genius_album(artist = "Ed Sheeran", album = "Divide")
Shawn_Mendes_lyrics = genius_lyrics(artist = "Shawn Mendes", song = "In My Blood")