LastfmArchive.Transform.transform
You're seeing just the function
transform
, go back to LastfmArchive.Transform module for more information.
Specs
transform(binary(), binary(), :atom) :: [binary()] | {:error, :file.posix()}
Transform a downloaded raw JSON page into a list of tab-delimited track data.
Example
# transform a page of scrobbles from the file archive
LastfmArchive.Transform.transform("a_lastfm_user", "2007/200_1.gz")
A row of tab-delimited track currently contains (if any):
id
auto-generated by the system to uniquely identify a scrobblename
the track namescrobble_date
Unix timestamp of the scrobble datescrobble_date_iso
scrobble date in ISO 8601 datetime formatmbid
MusicBrainz identifier for the trackurl
web address of the track on Last.fmartist
artist_mbid
MusicBrainz identifier for the artistartist_url
web address of the artist on Last.fmalbum
album_mbid
MusicBrainz identifier for the album