tag.getWeeklyChartList {RLastFM} | R Documentation |
API call to tag.getWeeklyChartList
tag.getWeeklyChartList(tag, key = lastkey, parse = TRUE)
tag |
tag |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
a 2 column matrix containing values for from and to. Can be passed to other tag.getWeeklyArtistChart functions by indexing into matrix.
API is sensitive to spelling.
Greg Hirson <ghirson@ucdavis.edu>
http://www.last.fm/api/show?service=359
dates = tag.getWeeklyChartList("jazz") tag.getWeeklyArtistChart("jazz", from = dates[1,1], to = dates[1,2])$artist[1] #[1] "Amy Winehouse"