tag.getTopTags {RLastFM}R Documentation

API call to tag.getTopTags

Description

API call to tag.getTopTags

Usage

tag.getTopTags(tag, key = lastkey, parse = TRUE)

Arguments

tag tag
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

tag tag
count tag count, appears to be absolute.


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=276

Examples

tag.getTopTags("jazz")$tag[1:5]
#[1] "rock"        "seen live"   "alternative" "indie"       "electronic" 

[Package RLastFM version 0.1-4 Index]