Skip to contents

Add whole blood tubes to the database if they don't exist

Usage

append_whole_blood_tubes(
  user_data,
  con,
  barcode_col,
  position_col,
  comment_col
)

Arguments

user_data

A dataframe containing the payload data.

con

A database connection object.

barcode_col

Column name in user_data for barcode.

position_col

Column name in user_data for position.

comment_col

Column name in user_data for comment.

Value

A result from the dbAppendTable indicating if the tubes were added successfully.