A small r package to provide the basic last.year analytics also performed by last.fm
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst/images
man
DESCRIPTION
NAMESPACE
README.md
analyze_last_fm.Rproj

README.md

Overview

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)
data <- UserData$new("myuser","xxx0000xxxKEY",2017)

View(data$albumstats(sort_by="by_total_count"))

First Plotting functions

Clock Plot

data$clock.plot()

alt text

Bar Chart

data$barplots("weekdays")

alt text

data$daily_month_plot()

alt text