data-mining-group-project / mood-classifier

Spotify Mood Classifier based on playlist names (Sad or Happy)
1 stars 3 forks source link

Debugging extractingFeatures.R #16

Closed Guiwald closed 5 years ago

Guiwald commented 5 years ago

When running the script for more than 1500 songs, it crashes with the error message: Error: Column indexes must be at most 1 if positive, not 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17

Guiwald commented 5 years ago

Song 1537 appears to have track.is_local = TRUE, and most of the other parameters are NA, track.id included. Only informations I can see are track.name ("Keep the Lights On"), track.duration (211000), and track.artists (only the name though: "NA, NA, Wave Machines, artist, NA").

Will need to implement a condition to exclude NAs, or to skip a song when track.is_local = TRUE