Skip to content

johncarlomaula/taylorswift-lyrics-project

Repository files navigation

Analyzing Taylor Swift's Lyrics

Project Description: In this project, I analyze the lyrics of Taylor Swift's music in R. For more background information, check out my blog to see a summary write-up of the project!

Main Goals:

  • Extract Taylor Swift lyrics data using the genius package from CRAN
  • Calculate word counts and TF-IDF
  • Perform sentiment analysis on the lyrics
  • Visualize results using word clouds and other visualization tools

Project Overview

Title Description .Rmd File
Data Retrieval I cleaned the dataset Taylor Swift's lyrics from the user shaynak and prepared it for analysis. View
Word Count Analysis In this section, I focused on the analyzing the word frequency and lexical diversity of Taylor Swift's music. View
Sentiment Analysis In this section, I focused on analyzing the sentiment of Taylor Swift's lyrics based on 3 different lexicons: Bing, AFINN, and NRC. View
Data Retrieval (Old) I used the genius package to retrieve Taylor Swift's lyrics and prepared it for analysis. Note: The genius package was returning incomplete lyrics and is unsupported as of now. View

Links

Here are the resources I used to complete this project.

  1. https://github.com/JosiahParry/genius
  2. https://github.com/shaynak/taylor-swift-lyrics
  3. https://www.datacamp.com/community/tutorials/R-nlp-machine-learning
  4. https://www.tidytextmining.com/sentiment.html
  5. https://www.r-graph-gallery.com/38-rcolorbrewers-palettes.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published