Learn R Programming

geniusr (version 1.2.1)

get_artist_df: Retrieve metadata for an artist

Description

The Genius API lets you search for meta data for an artist, given an artist ID. get_artist_df returns this data in a tidy, but reduced, format.

Usage

get_artist_df(artist_id, access_token = genius_token())

Value

a tibble

Arguments

artist_id

ID of the artist (artist_id within an object returned by search_artist)

access_token

Genius' client access token, defaults to genius_token

See Also

See get_artist to return data in full as a list.

Other artist: get_artist_songs_df(), get_artist_songs(), get_artist()

Examples

Run this code
if (FALSE) {
get_artist_df(artist_id = 16751)
}

Run the code above in your browser using DataLab