Skip to content

taylor 4.0.0

Latest

Choose a tag to compare

@wjakethompson wjakethompson released this 13 Feb 17:34
195c16a

Breaking changes

  • taylor_all_songs and taylor_album_songs now use audio features from the
    SoundStat API due to Spotify removing
    access

    to their audio features endpoint.

    • Lost columns: liveness, speechiness, time_signature.
    • Data may be slightly different due to differences between the Spotify and
      new SoundStat API (conversions available if desired through the
      convert_values argument to get_soundstat_audio_features()).
  • Fearless, Speak Now, Red, and 1989 have been added back to
    taylor_album_songs now that Taylor owns all of her
    masters
    . Both the
    originals and Taylor's Version's are now included in the dataset.

New features

New data

  • New data and visualization tools have been added for
    The Life of a Showgirl.

    • Added lyrics and SoundStat audio features to taylor_all_songs and
      taylor_album_songs.
    • Added composite critic score from Metacritic to taylor_albums.
    • Added a new themed color palette to album_palettes.
    • Added a new single color to album_compare.
  • Two new songs added where Taylor is credited as a writer

    • "Bein' With My Baby" from Shea Fisher's Shea
    • "This Is Really Happening" from Britni Hoover's Country Strong

API access

  • get_spotify_track_info() is now exported to use for gathering track
    metadata.

  • get_soundstat_audio_features() and get_reccobeats_audio_features() have
    been added to provide access to audio features through the
    SoundStat and ReccoBeats
    APIs, respectively.

  • New helper functions for setting up API configuration.

    • set_spotify_api_key() / get_spotify_api_key()
    • set_soundstat_api_key() / get_soundstat_api_key()
  • taylor_sitrep() can be used to quickly check the configuration of API keys.

Minor improvements and fixes

  • scale_color_albums() and scale_fill_albums() now recognize alternate
    capitalization (e.g., Folklore instead of folklore) and common nicknames
    (e.g., Debut for Taylor Swift) when mapping album_compare to album
    names.