This function returns tracks from a dataframe of albums on Spotify

get_album_tracks(albums, access_token = get_spotify_access_token(),
  parallelize = FALSE, future_plan = "multiprocess")

Arguments

albums

A character vector containing the ids of one or several albums to retrieve information for OR a dataframe containing a column `album_uri`, corresponding to Spotify Album URIs (Can be output from spotifyr::get_artist_albums())

access_token

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

parallelize

Boolean determining to run in parallel or not. Defaults to FALSE.

future_plan

String determining how `future()`s are resolved when `parallelize == TRUE`. Defaults to multiprocess.

Examples

# NOT RUN {
albums <- get_artist_albums('radiohead')
get_album_tracks(albums)
# }