tag.getSimilar {RLastFM}R Documentation

API call to tag.getSimilar

Description

API call to tag.getSimilar

Usage

tag.getSimilar(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 similar tags

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

Examples

tag.getSimilar("jazz")[1:5]
#[1] "piano"      "swing"      "jazz piano" "saxophone"  "fusion"    

[Package RLastFM version 0.1-4 Index]