Spotify-matchedR aims to measure the music taste compatibility of two people based on the songs they listen to on Spotify.
Using the "Rspotify” package and Spotify Web API, we will download the songs from “Your Top Songs” playlist, which is the recap for any year from 2018-2020 of the user’s 100 most listened songs. We will then build a matching algorithm in R that returns a compatibility score based on the songs, artists, and genres that the two users have in common.
Using the “plotly” package, we will visualize five musical metrics available on Spotify track audio features, which are:
- danceability or the measure of how suitable a track is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity;
- energy which is the perceptual measure of intensity and activity;
- popularity of the matched tracks;
- speechiness which is understood by the presence of spoken words in a song, and;
- valence or the measure of musical positivity.
Finally, we will use the "Shiny" package, to deploy the Spotify-matchedR app!
To view and use the app, click Spotify-MatchedR now!
The material in this repository is made available under the MIT license.
Ma. Adelle Gia Arbo and Janine De Vera worked cooperatively to develop the Spotify MatchedR app.