EVOLUTION-MANAGER
Edit File: get_playlist_audio_features.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Get Features and Popularity of Playlists on Spotify</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for get_playlist_audio_features {spotifyr}"><tr><td>get_playlist_audio_features {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get Features and Popularity of Playlists on Spotify</h2> <h3>Description</h3> <p>This function returns the popularity and audio features for every song for a given set of playlists on Spotify </p> <h3>Usage</h3> <pre> get_playlist_audio_features( username, playlist_uris, authorization = get_spotify_access_token() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>username</code></td> <td> <p>String of Spotify username. Can be found on the Spotify app.</p> </td></tr> <tr valign="top"><td><code>playlist_uris</code></td> <td> <p>Character vector of Spotify playlist uris. Can be found within the Spotify App</p> </td></tr> <tr valign="top"><td><code>authorization</code></td> <td> <p>Required. A valid access token from the Spotify Accounts service. See the <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/">Web API authorization Guide</a> for more details. Defaults to <code>spotifyr::get_spotify_access_token()</code></p> </td></tr> </table> <h3>Value</h3> <p>A data frame with the audio featurees and popularity variables of playlists. </p> <h3>See Also</h3> <p>Other musicology functions: <code><a href="get_artist_audio_features.html">get_artist_audio_features</a>()</code>, <code><a href="get_genre_artists.html">get_genre_artists</a>()</code>, <code><a href="get_track_audio_analysis.html">get_track_audio_analysis</a>()</code>, <code><a href="get_track_audio_features.html">get_track_audio_features</a>()</code>, <code><a href="get_user_audio_features.html">get_user_audio_features</a>()</code> </p> <h3>Examples</h3> <pre> playlist_username <- 'spotify' playlist_uris <- c('37i9dQZF1E9T1oFsQFg98K', '37i9dQZF1CyQNOI21QVf3p') playlist_audio_features <- get_playlist_audio_features(playlist_username, playlist_uris) </pre> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>