Alteryx cleaning and extraction workflow

Today was Day 3 of working on our Capstone Project. I finally got all the data cleaning done today and got it to a point where I was able to join the datasets. However, the join I had initially done exploded the data, so I undid some of the steps I had taken yesterday, such as having a separate row for each chord in a song, as this added too many rows. I also consolidated more of the fields I would want for my dashboard, such as weeks on Billboard and chord frequency, which helped reduce my row count as I applied those aggregations.

Database Schema for What makes a hit?

Initially, Billboard Songs and Dimension table Track had a many-to-many relationship, which required a bridge table. However, I felt that this was overcomplicating the relationship, as it was based on the assumption that one Billboard chart hit might refer to multiple Spotify track IDs. It could be the same song, but just a different version, such as a remaster or a remix. More than likely, the song maintains a similar structure, so including all these versions wouldn't necessarily inform us any further on what makes a hit, even if there were a many-to-many relationship.

One of the challenges I ran into today was accessing Spotify's Web API, as I had exceeded the call quota. My dataset was already quite rich, however, I had always planned to have an integration with an API. Through the Spotify API, I was hoping to get the duration and number of tracks in the albums that the charting songs appeared on. The Spotify Web API also seemed to limit me to one call at a time, which slowed down the process quite a lot. I believe this could be alleviated by building a macro in Alteryx.

You may notice the dark box around the API enrichment table in my schema, and that is because I currently have some of the API data but am hoping I can rerun or continue the extraction when my quota resets tomorrow.

For Day 4, I'm hoping to complete the API extraction and finalize the remaining tables. However, if the quota doesn't reset, I will move forward with the rest of the tables so I can continue building out my dashboards.