get_artist_tracks_features: Get Artist Tracks Features

Description Usage Arguments Value Author(s) Examples

View source: R/get_artist_tracks_features.R

Description

This function returns audio features for all the tracks of a given artist

Usage

1
2
get_artist_tracks_features(artist_name, limit = 100, offset = 0,
  access_token = DSpoty::get_spotify_access_token())

Arguments

artist_name

String of an artist name

limit

Integer indicating the max number of artists to return. Defaults to 100, max of 100.

offset

Integer indicating the offset of the first artist to return. Defaults to 0 (Spotify's API default value).

access_token

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

Value

Returns a data frame with the tracks features for all the tracks of an artist

Author(s)

Alberto Almui?a

Examples

1
2
3
4
## Not run: 
tracks_features<-get_artist_tracks_features('Shakira')

## End(Not run)

AlbertoAlmuinha/DSPOTY documentation built on May 2, 2020, 2:28 p.m.