Skip to contents

A small dataset containing current artists available on iTunes with a corresponding ID that can be used in appler functions.

To see more information about the artist online, you can add the following URL in your browser: music.apple.com/artist/<id> where <id> is the `artist_id` column

Usage

itunes_artists

Format

A data frame with 2 columns and 10 rows

artist

Artist name

artist_id

Apple ID of the artist

Source

<https://music.apple.com>

Examples

if (FALSE) { # interactive()
# Get information about Microsoft Teams
lizzo <- itunes_artists[itunes_artists$artist == "Lizzo", ]
lizzo_id <- lizzo$artist_id
lizzo_name <- lizzo$artist

# Search for artist by name, can find the ID from this query
search_apple(term = lizzo_name, country = "ca", lang = "en")

# Get information about the artist
lookup_apple(id = lizzo_id, country = "ca", sort = "recent")
}