This readme was generated by ChatGPT and edited/proofread by me.
taylor is an R package that provides a huge trove of data about Taylor Swift's song lyrics.The analysis is based on version 2.0.0 of the package, and its datasets are as current as possible and include content from the Eras tour. .
The goal of this project is to explore Taylor Swift's discography and gain insights into her music, lyrics, and album themes using the data provided by the taylor R package.
The taylor package provides several datasets:
taylor_all_songs: A data set containing lyrics to and characteristics of all officially released Taylor Swift songs. This includes albums, EPs, and individually released singles.
taylor_album_songs: Same as taylor_all_songs but fewer songs -- one for each song from an official studio album
taylor_albums: A data set containing the names of Taylor's official releases, the album type, and release date.
Prerequisites:
- R (>= 3.6.0)
- RStudio (optional, but recommended)
Install the taylor package from CRAN:
install.packages("taylor")library(taylor)
See Reference
> head(taylor_all_songs)
# A tibble: 6 × 29
album_name ep album_release track_number track_name artist featuring
<chr> <lgl> <date> <int> <chr> <chr> <chr>
1 Taylor Swift FALSE 2006-10-24 1 Tim McGraw Taylo… NA
2 Taylor Swift FALSE 2006-10-24 2 Picture To Burn Taylo… NA
3 Taylor Swift FALSE 2006-10-24 3 Teardrops On My… Taylo… NA
4 Taylor Swift FALSE 2006-10-24 4 A Place In This… Taylo… NA
5 Taylor Swift FALSE 2006-10-24 5 Cold As You Taylo… NA
6 Taylor Swift FALSE 2006-10-24 6 The Outside Taylo… NA
# ℹ 22 more variables: bonus_track <lgl>, promotional_release <date>,
# single_release <date>, track_release <date>, danceability <dbl>,
# energy <dbl>, key <int>, loudness <dbl>, mode <int>, speechiness <dbl>,
# acousticness <dbl>, instrumentalness <dbl>, liveness <dbl>, valence <dbl>,
# tempo <dbl>, time_signature <int>, duration_ms <int>, explicit <lgl>,
# key_name <chr>, mode_name <chr>, key_mode <chr>, lyrics <list>Seee some example usage on the creator's blog.