powered by
This function fetches songs related to the wanted one.
get_song_relationship(song_id, access_token = Sys.getenv("GENIUS_API_TOKEN"))
Genius Song ID
Genius Web API token. Defaults to Sys.getenv('GENIUS_API_TOKEN').
Returns a tibble with related song's information
To use this function, you need to first use 'search_genius_song' to get the song ID.
# NOT RUN { get_song_relationship('55882') # }
Run the code above in your browser using DataLab