Introduction
I pulled my Amarok music database data to see what kind of things I could learn about my music collection. I imported a CSV into google sheets and from there it was quite easy. If I ever pull new data I can paste it in and it will automatically generate new graphs.
Totals
Total Artists | 797 |
Total Albums | 762 |
Total Tracks | 6960 |
Total Length | 23.39 days |
Min Length | 5s |
Max Length | 60.83m |
Avg Length | 4.57m |
Total Genres | 69 |
Min Year | 0 |
Max Year | 2015 |
Avg Year | 1960 |
Avg Rating | 3.67 |
Artist
Album
Track Length
Rating
Genre
Year
SQL Query
SELECT
t.id,
t.album,
g.name AS genre,
y.name AS year,
0.001*t.length len_seconds,
a.name AS artist,
m.name AS album,
t.title AS trackname,
0.5 * r.rating AS rating,
u.rpath
FROM
artists a,
albums m,
tracks t,
statistics r,
years y,
genres g,
urls u
WHERE
a.id = t.artist AND m.id = t.album
AND r.id = t.id
AND y.id = t.year
AND g.id = t.genre
AND u.id = t.url;
Next Steps
I will repeat this once I have completed rating my collection. And I noticed there is some room for improvement.