tiagomendesdantas/Rspotify

searchtTrack

Opened this issue · 0 comments

Is there a way to search tracks and artists at the same time?
I am trying the advanced search notation from spotify but I think the code is locked to only searching tracks. I could also benefit from having an option to not order results by popularity.

Or... maybe I am missing something, but what I am trying to do is to append the popularity measure to my features dataframe.

for(i in 1:nrow(album)) { 
  temp <- searchTrack(paste("track:", album_features$name[i], "artist:", artist), token)[1,]
  pop <- rbind(pop, temp)
}