Learn R Programming

spotifyr (version 1.0.0)

get_artist_audio_features: Get features and popularity for an artist's entire discography on Spotify

Description

This function returns the popularity and audio features for every song and album for a given artist on Spotify

Usage

get_artist_audio_features(artist_name,
  access_token = get_spotify_access_token())

Arguments

artist_name

String of artist name

access_token

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

Examples

Run this code
# NOT RUN {
radiohead_features <- get_artist_audio_features('radiohead')
# }

Run the code above in your browser using DataLab