Retrieve the entire discography of an artist with the lyrics of each song and the associated audio information. Returns the song data as a nested tibble. This way we can easily see each album, artist, and song title before expanding our data.

get_discography(artist, authorization = get_spotify_access_token())

Arguments

artist

The quoted name of the artist. Spelling matters, capitalization does not.

authorization

Authorization token for Spotify web API. Defaults to get_spotify_access_token()

Examples

# NOT RUN {
rex_orange <- get_discography("Rex Orange County")
unnest(rex_orange, data)
# }