Graph of songs, artists, albums, and playlists from Spotify
- pyTigerGraph
- Kaggle (if installing from the API)
- Get Started with TigerGraph Cloud
- Create an account on Kaggle (if directly importing data from kaggle).
- Run
SpotifyGraph.ipynb
, replacing it with the appropriate credentials.
The data is from the Kaggle Spotify Dataset.
- Adds a "Track Name" column with the genre
None, see SpotifyGraph.ipynb
There are a few queries to grab data for analysis, including:
getArtists.gsql
—> Grabs all of the Artist vertices.getGenres.gsql
–> Grabs all of the Genre vetices.getPlaylists.gsql
—> Grabs all of the Playlist vertices.getSongs.gsql
—> Grabs all of the Song vertices.getSongsByArtists.gsql
–> Grabs songs by artist.getSongsByGenre.gsql
—> Grabs songs by genre.getSongsByPlaylist.gsql
—> Grabs songs by playlist.getVerticesFromSongs.gsql
—> Grabs genre, playlist, and artist by song.
TigerGraph_and_Cytoscape.ipynb
—> Lab of creating an interactive Cytoscape dashboard with Plotly's Cytoscape and the TigerGraph Spotify Graph.