Skip to contents

Update records with optional single-record comparison display

Usage

update_records(
  data,
  table_type = c("individuals", "plots", "individual_features", "subplot_features",
    "individual_features_metadata", "methodslist", "table_colnam", "traitlist",
    "subplotype_list"),
  execute = FALSE,
  method = c("single", "batch"),
  con = NULL,
  interactive = TRUE,
  similarity_threshold = 0.6,
  show_comparison = TRUE
)

Arguments

data

Tibble with records to update

table_type

Character: type of table

execute

Logical: if FALSE (default), dry run only

method

Character: "single" or "batch"

con

Database connection

interactive

Logical: enable interactive prompts

similarity_threshold

Numeric: threshold for metadata mapping

show_comparison

Logical: if TRUE and method="single", display HTML comparison