EVOLUTION-MANAGER
Edit File: get_artist_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 Audio Features For Artists' Discography</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_artist_audio_features {spotifyr}"><tr><td>get_artist_audio_features {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get Audio Features For Artists' Discography</h2> <h3>Description</h3> <p>Get audio feature information for all or part of an artists' discography. </p> <h3>Usage</h3> <pre> get_artist_audio_features( artist = NULL, include_groups = "album", return_closest_artist = TRUE, dedupe_albums = TRUE, market = NULL, authorization = get_spotify_access_token() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>artist</code></td> <td> <p>Required. String of either an artist name or an artist Spotify ID. If an artist name is provided, <code>search_spotify()</code> will be used to find a Spotify ID matching the name provided.</p> </td></tr> <tr valign="top"><td><code>include_groups</code></td> <td> <p>Optional. A character vector of keywords that will be used to filter the response. Defaults to <code>"album"</code>. Valid values are: <br /> <code>"album"</code> <br /> <code>"single"</code> <br /> <code>"appears_on"</code> <br /> <code>"compilation"</code> <br /> For example: <code>include_groups = c("album", "single")</code></p> </td></tr> <tr valign="top"><td><code>return_closest_artist</code></td> <td> <p>Optional. Boolean.</p> </td></tr> <tr valign="top"><td><code>dedupe_albums</code></td> <td> <p>Optional. Logical, boolean parameter, defaults to <code>TRUE</code>.</p> </td></tr> <tr valign="top"><td><code>market</code></td> <td> <p>Optional. <br /> An ISO 3166-1 alpha-2 country code or the string <code>"from_token"</code>. <br /> Supply this parameter to limit the response to one particular geographical market. For example, for albums available in Sweden: <code>market = "SE"</code>. <br /> If not given, results will be returned for all markets and you are likely to get duplicate results per album, one for each market in which the album is available!</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>Returns a data frame of results containing track audio features data. See the <a href="https://developer.spotify.com/documentation/web-api/reference/tracks/get-several-audio-features/">Spotify Web API documentation</a> for more information. </p> <h3>See Also</h3> <p>Other musicology functions: <code><a href="get_genre_artists.html">get_genre_artists</a>()</code>, <code><a href="get_playlist_audio_features.html">get_playlist_audio_features</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> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>