artist.getSimilar {RLastFM} | R Documentation |
API call to artist.getSimilar
artist.getSimilar(artist, limit = NA, key = lastkey, parse = TRUE)
artist |
Name of the artist, in quotes |
limit |
Limit number of results. Defaults to maximum value of 100 |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
If parse = TRUE, If it is a LIST, use
name |
Artist name |
mbid |
Artist mbid |
match |
last.fm metric for artist similarity |
If parse = FALSE, a object of type "XMLInternalDocument" and "XMLAbstractDocument"
API is sensitive to spelling.
Greg Hirson <ghirson@ucdavis.edu>
http://www.last.fm/api/show?service=119
res = artist.getSimilar(artist = "Wilco") #res$name[1:10] #[1] "Jeff Tweedy" "Billy Bragg & Wilco" #[3] "Uncle Tupelo" "Loose Fur" #[5] "Golden Smog" "My Morning Jacket" #[7] "The Minus 5" "Son Volt" #[9] "Ryan Adams & The Cardinals" "The Jayhawks"