powered by
The Genius API lets you search for song metadata of an artist, given an artist ID. get_artist_songs_df returns this data in a tidy, but reduced, format.
get_artist_songs_df
get_artist_songs_df( artist_id, sort = c("title", "popularity"), include_features = FALSE, access_token = genius_token() )
a tibble
ID of the artist (artist_id within an object returned by search_artist)
artist_id
search_artist
method to order results; by "title" (default) or by "popularity"
Whether to return results where artist isn't the primary artist (logical, defaults to FALSE)
Genius' client access token, defaults to genius_token
genius_token
See get_artist_songs to return data in full as a list.
get_artist_songs
Other artist: get_artist_df(), get_artist_songs(), get_artist()
get_artist_df()
get_artist_songs()
get_artist()
if (FALSE) { get_artist_songs_df(artist_id = 1421) }
Run the code above in your browser using DataLab