Skip to content

Instantly share code, notes, and snippets.

@JosiahParry
Created January 29, 2018 14:57
Show Gist options
  • Save JosiahParry/fe374ad4cc633aeb07c351f73ab334a1 to your computer and use it in GitHub Desktop.
Save JosiahParry/fe374ad4cc633aeb07c351f73ab334a1 to your computer and use it in GitHub Desktop.
Multiple Album Tracklists and Lyrics
# Create a tibble with the artist's name & another with the album title
kdot_albums <- tibble(
artist = "Kendrick Lamar",
album = c("Section 80", "DAMN."))
# Iterate through the albums and artists using a map call
album_lyrics <- kdot_albums %>%
mutate(tracks = map2(artist, album, genius_album))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment