track.getTopTags {RLastFM}R Documentation

API call to track.getTopTags

Description

API call to track.getTopTags

Usage

track.getTopTags(track = NA, artist = NA, mbid = NA, key = lastkey, parse = TRUE)

Arguments

track track title
artist artist name
mbid optionally, artist MBID
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

tag tag
count raw tag count


If parse = FALSE, a object of type "XMLInternalDocument" and "XMLAbstractDocument"

Note

API is sensitive to spelling.

Author(s)

Greg Hirson <ghirson@ucdavis.edu>

References

http://www.last.fm/api/show?service=289

Examples

a = track.getTopTags("Video Killed the Radio Star", "The Buggles")
##Not Run - plot tagcounts for top tags
#plot(a$count[order(a$count, decreasing = T)], type = "l")


[Package RLastFM version 0.1-4 Index]