How can I createa a database with datadump from Listenbrainz?

Hello,

for my bachelor’s thesis I would need help in importing the data from listenbrainz to a database in order to be able to create a linear regression model.

The idea is to compare how much listens certain artists used to have vs. how much they have now.
I would be very thankful for any kind of help!

See the documentation https://listenbrainz.readthedocs.org/ for documentation on listenbrainz.
Dumps are in json format as well as in apache spark format.
You should theoretically be able to load the apache spark files directly and run your models straight away.

Download the dumps from one of the mirrors see https://musicbrainz.org/doc/MusicBrainz_Database/Download, go up a few directories and find listenbrainz dumps.
Such as the following
http://ftp.musicbrainz.org/pub/musicbrainz/listenbrainz/fullexport/listenbrainz-dump-191-20200824-001001-full/

2 Likes

Hello! This document [0] explains how to use our data dumps. Happy to help if you have further questions.

1 Like