spotifyr (version 1.0.0)

get_album_popularity: Get Album Popularity

Description

This function returns popularity of albums on Spotify

Usage

get_album_popularity(albums, access_token = get_spotify_access_token())

Arguments

albums

Dataframe containing a column `album_uri`, corresponding to Spotify Album URIs. Can be output from spotifyr::get_albums()

access_token

Spotify Web API token. Defaults to spotifyr::get_spotify_access_token()

Examples

Run this code
# 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