This function allows you to load several tracks features really fast specially with a large amount of tracks. Improves the performance in comparision with get_several_tracks_features.

get_several_tracks_features_vectorized(tracks_df,
  access_token = DSpoty::get_spotify_access_token())

Arguments

tracks_df

Dataframe containing the tracks ids in the first column.

access_token

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

Value

Returns a data frame with all the tracks_features for the selected tracks uris.

Examples

if (FALSE) { get_several_tracks_features_vectorized(df) }