artist.getEvents {RLastFM} | R Documentation |
API call to artist.getEvents
artist.getEvents(artist, key = lastkey, parse = TRUE)
artist |
Name of the artist, in quotes |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
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"
API is sensitive to spelling.
Greg Hirson <ghirson@ucdavis.edu>
http://www.last.fm/api/show?service=117
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"