Skip to contents

Retrieves style tags assigned to an artwork from the artwork_styles table. These tags (e.g., "abstract", "portrait", "oil") are used for search filtering, style badges, and category grouping.

For the extended profile with description and category, use get_artwork_profile_full() instead.

Usage

get_artwork_profile(artist, artwork, cn = NULL)

Arguments

artist

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

artwork

Character. Artwork UUID (format: "99xxxxxx-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

data.table with style tags and their categories