Skip to contents

Data sets

taylor_album_songs
Data for songs on Taylor Swift's official studio albums
taylor_all_songs
Data for Taylor Swift songs
taylor_albums
Data for Taylor Swift's studio albums and EPs

Plotting

Color palettes

The color palettes can be used to create custom color palettes, which can then be used in plots. Also included are some pre-made color palettes based on Taylor Swift’s album covers. To see these functions in action, see vignette("palettes").

color_palette() is_color_palette()
Create a custom color palette
album_palettes album_compare
Color palettes based on Taylor Swift's albums

{ggplot2} scales

Color scales functions can be used to easily give plots made with {ggplot2} a Taylor Swift theme. These functions use the color palettes based on Taylor Swift’s album covers to give an album-based theme to plot objects. For example usage, see vignette("plotting").

Helpers

album_levels
Correct ordering of Taylor Swift's albums
title_case()
Convert string to title case