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.