Converts a URL-friendly slug to a full artist record. This is the entry
point for artist profile pages - when a user visits /artist/jane-doe,
use this function to resolve the slug to an artist UUID and profile data.
Returns NULL if no artist matches the slug, allowing you to render a 404. The result includes artist preferences (featured artwork/collection) via a LEFT JOIN, so these fields may be NA for artists without preferences.
Value
data.table with artist profile fields (artist_uuid, artist_name, bio, location, social URLs, etc.), or NULL if not found.
See also
Other data-access:
artHasNFT(),
db-frame-analytics,
getArtistOpensea(),
getArtistStyleMap(),
getArtworkIndex(),
getArtworkMeta(),
getArtworkOpensea(),
getArtworkProfile(),
getArtworkProfileFull(),
getArtworkStats(),
getImageRaster(),
getVerificationInfo(),
get_artist_collections_summary(),
get_artist_recent_works(),
get_artist_stats()
Examples
if (FALSE) { # \dontrun{
artist_record <- get_artist_by_slug("jane-doe")
if (!is.null(artist_record)) {
artist <- artist_record$artist_uuid
# Use artist UUID for subsequent queries
}
} # }