data-squad-152-par, Ironhack-Paris 10/04/2021
Several researches have proved that weather can have an impact on people mood, we could even talk about :Seasonal Affective Discorder (DAS). Based on this fact, we were wondering if people listen to happy or sad songs depending on the weather. Do weather has an impact on the kind of music we listen to ?
Do people listen to calm and sad music when the weather is bad ? Does the weather has an impact on people music taste ?
1/ Weather for the last year in France from Reseaux Energie Open Data 2/ Top 50 tracks in France from Charts in France 3/ The audio features for all tracks with Spotify API (search and audio features)
1st Step : Get the weather in a Data frame on a weekly basis 2nd step : Get all the top tracks in a Data Frame on a weekly basis, by ranks, artists and songs 3rd step : Get the Audio features (Valence) for all tracks Next Step : Find a correlation between the weather (temperature) and the valence for the top tracks
Scraping of Opendata and top charts Spotify API to search and get audio features