Today was Day 2 of the Capstone Project. Early in the day, I started off by extracting data from Spotify. However, I ran into issues with the authorization token and needed to generate a new one.

Most articles I had read regarding Spotify's Web API mentioned data such as valence and the tempo of a song being available to extract. However, all of these articles were written before the update in 2024, when Spotify restricted the data we could access through its Web API. Therefore, I needed to use a different API and will now only be using song duration from the Spotify API.

I connected to the ReccoBeats API, which luckily didn't require any authentication. Connecting to the API was fairly straightforward; however, actually extracting the information from ReccoBeats was extremely tedious. Despite using the documentation, ReccoBeats has specific track IDs native to its library, meaning they didn't directly match with my other dataset, which used Spotify track IDs.

Today, I also spent a lot of time cleaning data. As the file was quite large, I had to configure the Alteryx settings from the input step, such as allowing a larger character size, to ensure all the columns were correctly split using a delimiter.

I then had to clean my Billboard Top 100 dataset, which also contained the chords for each of the top songs since 1991. I filtered the dataset from 2017 to 2021 and pivoted the chords after splitting them using a delimiter. This would then allow me to build insights for my A&R/music label analyst into which chords are the most popular, when they tend to be used, and whether certain chords are associated with more successful songs.

Yesterday, I underestimated how much cleaning my datasets would require and wasn't fully aware of all the Spotify Web API limitations. Although connecting to the ReccoBeats API went well, extracting and preparing the data took far longer than expected.

For Day 3, I'm hoping that by tomorrow morning I can have a schema built out so I can ingest the data into Snowflake and then build out my charts in the latter half of the day.