EVOLUTION-MANAGER
Edit File: get_discography_lyrics.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Get Discography Lyrics</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for get_discography_lyrics {rgenius}"><tr><td>get_discography_lyrics {rgenius}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get Discography Lyrics</h2> <h3>Description</h3> <p>This function gets the lyrics of the desired song. </p> <h3>Usage</h3> <pre> get_discography_lyrics(artist_id, cores = detectCores(), access_token = Sys.getenv("GENIUS_API_TOKEN")) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>artist_id</code></td> <td> <p>Genius Artist ID</p> </td></tr> <tr valign="top"><td><code>cores</code></td> <td> <p>Number of cores to use for parallel computing. Default: parallel::detectCores()</p> </td></tr> <tr valign="top"><td><code>access_token</code></td> <td> <p>Genius Web API token. Defaults to Sys.getenv('GENIUS_API_TOKEN').</p> </td></tr> </table> <h3>Details</h3> <p>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. </p> <h3>Value</h3> <p>Returns a named list containing all the lyrics of the artist's songs. </p> <h3>Author(s)</h3> <p>Alberto Almuiña </p> <h3>Examples</h3> <pre> ## Not run: get_discography_lyrics('343657', cores = 2) ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>rgenius</em> version 0.1.0 <a href="00Index.html">Index</a>]</div> </body></html>