artist.getEvents {RLastFM}R Documentation

API call to artist.getEvents

Description

API call to artist.getEvents

Usage

artist.getEvents(artist, key = lastkey, parse = TRUE)

Arguments

artist Name of the artist, in quotes
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

name Name of the event
id Event ID
date Event date
headliner Event headliner - one artist
venue Venue name
city Venue city
zip Venue zip code
lat Venue latitude
long Venue longitude
artists all event artists. If more than one artist, returned as a list.

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

Examples

res = artist.getEvents("Wilco")

#res$name[1:10]
#[1] "Two Nights With Wilco" "Two Nights With Wilco" "Wilco"                
#[4] "Wilco"                 "Wilco"                 "Wilco"                
#[7] "Wilco"                 "Wilco"                 "Wilco"                
#[10] "Wilco"                

[Package RLastFM version 0.1-4 Index]