Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.22 KB

Songs Artist Analysis using geniusR

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.

Buy Me a Coffee at ko-fi.com

Requirements (R libraries):

  • geniusR (to mine song lyrics)
  • tidyverse (to manipulate data and for visualization)
  • tidytext (to tokenize dataset, remove stop words and count word frequency).

Credits:

Installation:

  • install.packages("devtools")
  • devtools::install_github("josiahparry/geniusR")
  • install.packages("tidyverse")
  • install.packages("tidytext")

for album:

Ed_Sheeran = genius_album(artist = "Ed Sheeran", album = "Divide")

for singles:

Shawn_Mendes_lyrics = genius_lyrics(artist = "Shawn Mendes", song = "In My Blood")

Sample: