The analyzelastfm is a package to help you downloading your data from the last.fm REST API by simple R calls. It is written in R6.
# Or the development version from GitHub
# install.packages("devtools")
devtools::install_github("zappingseb/analyze_last_fm")
to use this package you need to have a last.fm API key. You can get one from: https://www.last.fm/api/account/create
library(analyzelastfm)
my2017data <- UserData$new("myuser","xxx0000xxxKEY",2017)
# Remove duplicates that can happen due to problems of last.fm and Spotify API
my2017data$clean_data_duplicates()
View(my2017data$albumstats(sort_by="by_total_count"))
Clock Plot
my2017data$clock.plot()
Bar Chart
my2017data$barplots("weekdays")
my2017data$daily_month_plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.