user.getTopAlbums {RLastFM} | R Documentation |
API call to user.getTopAlbums
user.getTopAlbums(username, limit = NA, key = lastkey, parse = TRUE)
username |
username |
key |
API key, defaults to global variable lastkey |
limit |
limit of albums to return |
parse |
Parse the returned XML into a list? |
If parse = TRUE,
album |
album title |
artist |
artist name |
playcount |
playcount of tracks in album |
artmbid |
artist mbid |
albmbid |
album mbid |
rank |
rank of album, usually 1:50 |
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=299
play = user.getTopAlbums("monkeycatfm")$playcount #relative enjoyment play/max(play)