library(tidyverse)
library(taylor)

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

taylor taylor website

Project Status: Active – The project has reached a stable, usable state and is being actively developed. lifecycle R package version Package downloads
R-CMD-check codecov Netlify Status
Signed by License

Overview

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.

GIF of Taylor saying "yes"

Installation

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")

Example

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

Code of Conduct

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.



wjakethompson/taylor documentation built on Feb. 4, 2025, 12:57 a.m.