get_chords: get_chords

Description Usage Arguments Value Examples

View source: R/get_chords.R

Description

Extracts music chords from an artist.

Usage

1
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

1
2
3
4
5
6
{

  songs <- get_songs("tim-maia")
  get_chords(songs$url[2])

}

chorrrds documentation built on March 16, 2020, 5:06 p.m.