Skip to contents

Assembles all artwork data.tables into a complete record ready for database insertion. This is the final data assembly step before database commit.

Usage

build_artwork_record(
  artist,
  artwork,
  collection,
  art_title,
  art_story,
  create_date,
  meta,
  has_variants,
  n_variants,
  new_utc,
  artwork_colors,
  artwork_frame_analytics,
  artwork_hash,
  artwork_paths,
  artwork_profiles,
  artwork_stats,
  artwork_styles,
  global_styles,
  artwork_opensea = NULL
)

Arguments

artist

Character. Artist UUID.

artwork

Character. Artwork UUID.

collection

Character. Collection UUID.

art_title

Character. Artwork title.

art_story

Character or NULL. Artist-provided backstory.

create_date

POSIXct. Canvas creation start date.

meta

List. Image metadata from extract_image_meta().

has_variants

Logical. Whether artwork has variant images.

n_variants

Integer. Number of variant images.

new_utc

POSIXct. Timestamp for record creation.

artwork_colors

data.table. Color analysis results.

artwork_frame_analytics

data.table. Frame analysis results.

artwork_hash

data.table. Perceptual hash results.

artwork_paths

data.table. CDN path records.

artwork_profiles

data.table. AI profile results.

artwork_stats

data.table. Benchmark statistics.

artwork_styles

data.table. AI style results.

global_styles

data.table. Global style tags.

artwork_opensea

data.table or NULL. Optional NFT metadata.

Value

List (table_list) containing all data.tables ready for database.

Functions

  • build_artwork_record(): Assemble complete artwork record