This analysis compare the music feature preferences of four countries: the United Kingdom, the United States, Australia, and Canada. We focus on determining if there are significant differences in music preferences across these countries. The analysis is based on data extracted from Spotify API, with four features: danceability, energy, valence and speechiness.
The repo is structured as:
data/music_datacontains the downloaded and cleaned data ready for analysis as obtained from Spotify uing API.papercontains the files used to generate the paper, including the Quarto document and reference bibliography file, as well as the PDF of the paper.scriptscontains the R scripts used to simulate, download and clean data.
Aspects of the code are written with the help of ChatGPT and chat history is available in usage.txt.