Skip to contents

This function checks if the provided paper in the DBS specimen dataset is unique by position.

Usage

validate_dbs_sample_label_uniqueness(
  con,
  user_data,
  row_number_col,
  label_col,
  container_name_col,
  container_type_col,
  error_if_exists
)

Arguments

con

A database connection object.

user_data

The name of the formatted CSV table in the database.

row_number_col

The column name representing the row number in table_name.

label_col

The column name representing the position in table_name.

container_name_col

The column name representing the Cryovial container name in table_name.

Value

An object of class ErrorData. If there are no errors, NULL is returned.