Learn R Programming

DSpoty (version 0.1.0)

get_several_tracks_features_vectorized: Get Several Tracks Features Vectorized

Description

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.

Usage

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

Run this code
# NOT RUN {
get_several_tracks_features_vectorized(df)
# }

Run the code above in your browser using DataLab