Skip to contents

Returns the complete artist profile from app.artist_index table. Use this to get all artist metadata including contact info, social URLs, and verification status.

Usage

get_artist_index(artist, cn = NULL)

Arguments

artist

Character. Artist UUID (format: "746bxxxx-xxxx-xxxx-xxxxxxxxxxxx"). Validated with artcore::validate_uuid() where applicable.

cn

Database connection. If NULL, creates a connection via artcore::dbc() and closes it on exit. Pass an existing connection to batch multiple queries efficiently.

Value

Named list with all artist profile fields:

artist_uuid

Artist identifier

artist_name

Display name

slug

URL-friendly identifier

pronouns

Artist's pronouns

bio

Biography text

email, phone

Contact info

city, state, zipcode

Location

avatar_url

Profile image URL

url_ig, url_tiktok, url_youtube, url_reddit, url_twitx, url_site

Social URLs

is_verified

Verification status

created_utc, updated_utc

Timestamps

Examples

if (FALSE) { # \dontrun{
profile <- get_artist_index(artist_uuid)
profile$artist_name
profile$bio
} # }