Learn R Programming

chorrrds (version 0.1.9.5)

get_chords: get_chords

Description

Extracts music chords from an artist.

Usage

get_chords(song_url, nf = FALSE)

Arguments

song_url

The song URLs to be used for the chords collection. Can be either a character vector or straightforwardly the result of the `get_songs()` function.

nf

logical. If the chords of a song are not found, should we return this information in the final result?

Value

An object of type `tibble` with the chords sequences, key, song names and name of the artist.

Examples

Run this code
# NOT RUN {
{
# }
# NOT RUN {
  songs <- get_songs("tim-maia")
  get_chords(songs$url[2])
# }
# NOT RUN {
}
# }

Run the code above in your browser using DataLab