Created
January 29, 2018 14:57
-
-
Save JosiahParry/fe374ad4cc633aeb07c351f73ab334a1 to your computer and use it in GitHub Desktop.
Multiple Album Tracklists and Lyrics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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