lyrics {vagalumeR} | R Documentation |
Lyrics of a song.
Description
Gives the lyrics text of a song and the translation text, when the language of the song its not Portuguese.
Usage
lyrics(identifier, type, artist, key, message = TRUE)
Arguments
identifier |
The identifier of the song. |
type |
The type of identifier os the song ("name" or "id"). |
artist |
The name of the artist/band. |
key |
The apikey. |
message |
Should the function print something if the required data is not found? |
Details
The variables returned by the function are extracted with the Vagalume API.
Value
lyrics
returns a data.frame with information
about the artist, the song and the texts.
Author(s)
Bruna Wundervald, brunadaviesw@gmail.com.
Examples
## Not run:
identifier <- "A-Day-In-The-Life"
key <- "your token"
artist <- "the-beatles"
type <- "name"
lyrics(identifier, type, artist, key)
key <- "your token"
identifier <- "3ade68b4gdc96eda3"
type <- "id"
lyrics(identifier = identifier, type = type, key = key)
## End(Not run)
[Package vagalumeR version 0.1.6 Index]