Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_discography

Retrieve Artist Discography with Song Lyrics and Audio Info


Description

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.

Usage

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().

Value

A nested tibble. See tidyr::nest.

See Also

Other album functions: get_albums(), get_album()

Examples

rex_orange <- get_discography("Rex Orange County")

spotifyr

R Wrapper for the 'Spotify' Web API

v2.2.1
MIT + file LICENSE
Authors
Charlie Thompson [aut], Daniel Antal [aut, cre] (<https://orcid.org/0000-0001-7513-6760>), Josiah Parry [aut] (<https://orcid.org/0000-0001-9910-865X>), Donal Phipps [aut], Tom Wolff [aut]
Initial release
2021-06-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.