library(tidyverse) library(taylor) knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of taylor is to provide easy access to a curated data set of Taylor Swift songs, including lyrics and audio characteristics. Data comes Genius and the Spotify API.
You can install the released version of taylor from CRAN with:
install.packages("taylor")
To install the development version from GitHub use:
# install.packages("remotes") remotes::install_github("wjakethompson/taylor")
There are three main data sets. The first is taylor_album_songs
, which includes lyrics and audio features from the Spotify API for all songs on Taylor's official studio albums. Notably this excludes singles released separately from an album (e.g., Only the Young, Christmas Tree Farm, etc.), and non-Taylor-owned albums that have a Taylor-owned alternative (e.g., Fearless is excluded in favor of Fearless (Taylor's Version)). We support artists owning their work.
taylor_album_songs
You can access Taylor's entire discography with taylor_all_songs
. This includes all of the songs in taylor_album_songs
plus EPs, individual singles, and the original versions of albums that have been re-released as Taylor's Version.
taylor_all_songs
Finally, there is a small data set, taylor_albums
, summarizing Taylor's album release history.
taylor_albums
Contributions are welcome. To ensure a smooth process, please review the Contributing Guide. Please note that the taylor project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.