artist.getTopFans {RLastFM} | R Documentation |
API call to artist.getTopFans
artist.getTopFans(artist, mbid = NA, key = lastkey, parse = TRUE)
artist |
Name of the artist, in quotes |
mbid |
Optionally, use the artist mbid instead of artist |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
If parse = TRUE,
username |
Fan username |
weight |
weight of the fan |
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=310
res = artist.getTopFans("Wilco") plot(log(res$weight), type = "b")