EVOLUTION-MANAGER
Edit File: genius_url.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: Use Genius url to retrieve 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 genius_url {genius}"><tr><td>genius_url {genius}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Use Genius url to retrieve lyrics</h2> <h3>Description</h3> <p>This function is used inside of the 'genius_lyrics()' function. Given a url to a song on Genius, this function returns a tibble where each row is one line. Pair this function with 'gen_song_url()' for easier access to song lyrics. </p> <h3>Usage</h3> <pre> genius_url(url, info = "title") </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>url</code></td> <td> <p>The url of song lyrics on Genius</p> </td></tr> <tr valign="top"><td><code>info</code></td> <td> <p>Default <code>"title"</code>, returns the track title. Set to <code>"simple"</code> for only lyrics, <code>"artist"</code> for the lyrics and artist, <code>"features"</code> for song element and the artist of that element, <code>"all"</code> to return artist, track, line, lyric, element, and element artist.</p> </td></tr> </table> <h3>Examples</h3> <pre> #' genius_url("https://genius.com/Head-north-in-the-water-lyrics", info = "all") # url <- gen_song_url(artist = "Kendrick Lamar", song = "HUMBLE") # genius_url(url) </pre> <hr /><div style="text-align: center;">[Package <em>genius</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>