powered by
This function returns popularity of albums on Spotify
get_album_popularity(albums, access_token = get_spotify_access_token())
Dataframe containing a column `album_uri`, corresponding to Spotify Album URIs. Can be output from spotifyr::get_albums()
Spotify Web API token. Defaults to spotifyr::get_spotify_access_token()
# NOT RUN { artists <- get_artists('radiohead') albums <- get_albums(artists$artist_uri[1]) get_album_popularity(albums) # }
Run the code above in your browser using DataLab