aggregate all albums into a single CSV file
aggregate all artists into a single CSV file
Reports the average, min, and max for all properties from an array of aggregations. Useful for data normalization/analysis
aggregate all profile encoded favorite artists into CSV files
aggregate all profile favorite artists into CSV files
aggregate all reviews for all user profiles into CSV files
aggregate all reviews into a CSV file, using the RYM average as the reviewer
Generate CSV files of track information (all tracks, album tracks, or artist tracks). Receieves 'tracks', 'albums', or 'artists' via the first cli argument
Generates a CSV file of processed, encoded albums for web consumption
Initializes a database connection
Required .env
variables:
DATABASE_HOST
DATABASE_PORT
DATABASE_USERNAME
DATABASE_PASSWORD
DATABASE_NAME
Extract number a combined number-header string
Example: Discography 12
Example: 12
Extract the number of band members from a string scraped from Rate Your Music
Example:
Kevin Shields (guitar, vocals, sampler), Colm O'Ciosoig (drums, sampler, 1983-95, 2007-...
Retrieve the body of a GET request for a given url
Conditional error throwing on null/undefined generic content - used heavily by ParseElement
file to read, relative to base directory
an array of file lines
Run the model, generating album scores for all artists. All models must be generated & all datasets must be present
5 artists from which to generate recommendations
When first scraping this data, unique keys were enforced only in the scraping logic, and not in the database rules. Therefore, a few hundred duplicates for various records sneaked into the table. This function removes those duplicates in a safe manner. However, since it was only intended to fix a specific problem one time, it is somewhat sloppy and should not be trusted.
Scrapes information from [Rate Your Music] directly into a local Postgres database.
Uses the spotifyId field for all album and artist records in database to read and store all other Spotify data into the database
Uses the Spotify API to populate the spotifyGenres table
Serves documentation generated by TypeDoc
AlbumAggregation generator class for AlbumEntity
ArtistAggregator generator class for ArtistEntity
ReviewAggregation generator class for ReviewEntity
TrackAggregation generator class for TrackEntity database entries
Generated using TypeDoc
Types for data aggregation