songs | R Documentation |
Data describing all songs which have been played by Bruce Springsteen both
solo and with numerous bands from the year 1973 to present day. Can be joined with
setlists
using song_key
.
songs
A data frame with 4 variables:
Primary key of the data frame.
Title of the song.
Lyrics of the song if available in the database.
Name of the album on which the song appears if available in the database.
library(dplyr)
# What are the most common albums?
songs %>%
filter(!is.na(album)) %>%
count(album, sort = TRUE)
# What word occurs most frequently in the lyrics from the album 'Born To Run'
library(tidytext)
songs %>%
filter(album == 'Born To Run') %>%
select(title, lyrics) %>%
unnest_tokens(word, lyrics) %>%
count(word, sort = TRUE) %>%
anti_join(stop_words, by = 'word')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.