Rspotify icon indicating copy to clipboard operation
Rspotify copied to clipboard

searchtTrack

Open unbrother opened this issue 4 years ago • 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)
}

unbrother avatar Feb 09 '21 23:02 unbrother