Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the feature of all the songs of both "moods" #10

Closed
Guiwald opened this issue Apr 2, 2019 · 6 comments
Closed

Get the feature of all the songs of both "moods" #10

Guiwald opened this issue Apr 2, 2019 · 6 comments
Labels

Comments

@Guiwald
Copy link
Contributor

Guiwald commented Apr 2, 2019

We need to find a way to get the features of all songs of each categories

@Guiwald
Copy link
Contributor Author

Guiwald commented Apr 3, 2019

Branch extracting-features

Issue with my code when trying to get the features for 1000 songs: Request failed [429]
This issue isn't blocking the code to get all the feature, but it takes time: 1 min 30 when tried to 1000 songs

Reason: rate limiting

@Guiwald Guiwald added the R label Apr 3, 2019
@Guiwald Guiwald mentioned this issue Apr 3, 2019
@AnneliseCanesso
Copy link
Collaborator

This worked but again return a list. So, there is a way to do it.

sad_data <- lapply(sad_id, function(x) {
get_track_audio_features(x, authorization = get_spotify_access_token())
})

@AnneliseCanesso
Copy link
Collaborator

I have it done! Please have a look if you guys can see the code

@Guiwald
Copy link
Contributor Author

Guiwald commented Apr 3, 2019

Done in #11
Have a look at my code @AnneliseCanesso, and if you have trouble to commit yours I'll show you tomorrow

@AnneliseCanesso
Copy link
Collaborator

AnneliseCanesso commented Apr 3, 2019 via email

@AnneliseCanesso
Copy link
Collaborator

Yeah definitely need help to submit it, I think I've shared my whole history in R but the code does not show up hahaha - I can see the excel in my Git, but not here as well!

@Guiwald Guiwald closed this as completed in 51cc1da Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants