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())
The quoted name of the artist. Spelling matters, capitalization does not.
Authorization token for Spotify web API.
Defaults to get_spotify_access_token()
.
A nested tibble. See tidyr::nest
.
Other album functions:
get_albums()
,
get_album()
# NOT RUN {
rex_orange <- get_discography("Rex Orange County")
# }
Run the code above in your browser using DataLab