Skip to contents

Retrieves the tag-to-category mapping that defines an artist's style profile. Use this to display style badges, filter artworks by category, or build style distribution charts on artist profile pages.

Each artist has tags (e.g., "oil painting", "portrait") mapped to categories (e.g., "medium", "subject"). This mapping drives the style facets in search and the category breakdowns in analytics.

Usage

getArtistStyleMap(artist, cn = NULL)

Arguments

artist

Artist UUID

cn

Optional database connection. Pass an existing connection to avoid connection overhead when making multiple queries.

Value

data.table with columns:

tag

Style tag (e.g., "abstract", "landscape")

category

Category grouping (e.g., "style", "subject", "medium")