The goal of tvc is to provide statistics and tools to analyse Vanessa Carlton triads as well as neighboring tirads. Vanessa Carlton triads are three notes separated by a minor second followed by a fifth, as used by Vanessa Carlton in her 2002 debut single “A Thousand Miles”.
Exemple of a Vanessa Carlton triadYou can install the development version of tvc like so:
remotes::install_github(repo = "https://github.com/Albus5108/tvc", ref = "main"){tvc} works alongside Spotify playlists dedicated to a specific triad and a google sheet to store additional information about each triad. It helps you retrieve songs information from Spotify playlist using {spotifyr}. It compares the tracklists with the songs that are already stored in the googlesheet and write the new ones inside the googlesheet. A config.yml file helps you manage your keys and googlesheet urls.
library(tvc)
songs <- tvc::get_spotify_api_playlist(playlist_id = "55hU8f5avA0Fydvs8KbqRD", scope = "public") %>%
dplyr::mutate(triad = "1 7")triads <- read_sheet_triad()
write_missing_triade(songs = songs, triads = triads, triadeType = NULL)Once you welcomed new triads in the googlesheet, update the triads tibble and you can proceed with the analysis.
triads <- read_sheet_triad()
triads <- tvc:::parse_triade(triads, songs)Let’s plot a histogram showing the occurences of Vanessa Carlton triad through history
songs %>%
plot_tvc_histogram()The red histogram is based on the playlist “Jus d’oreille #16 - extended La Triade Vanessa Carlton”.
Have you ever wondered if this triad has any competitors, and which ones are the most common?
songs %>%
plot_triad_coverage(weighted = FALSE)Please note that the tvc project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



