README.md

Overview

Build Status

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.

Installation


# Or the development version from GitHub
# install.packages("devtools")
devtools::install_github("zappingseb/analyze_last_fm")

Usage

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"))

First Plotting functions

Clock Plot

my2017data$clock.plot()

alt text

Bar Chart

my2017data$barplots("weekdays")

alt text

my2017data$daily_month_plot()

alt text



zappingseb/analyze_last_fm documentation built on Dec. 10, 2019, 1:19 a.m.