This function gets the lyrics of the desired song.

get_discography_lyrics(artist_id,
  access_token = Sys.getenv("GENIUS_API_TOKEN"))

Arguments

artist_id

Genius Artist ID

access_token

Genius Web API token. Defaults to Sys.getenv('GENIUS_API_TOKEN').

Value

Returns a named list containing all the lyrics of the artist's songs.

Details

To use this function, you need to first use 'search_genius_artist' to get the artist ID. This function uses parallel processing to increase performance. Use the different cores of your device to achieve this, so there may be noticeable differences in performance depending on the device.

Examples

if (FALSE) { get_discography_lyrics('343657') }