Skip to contents

This function will check for locations and add new boxes if they don't exist. It will return the boxes and locations IDs.

Usage

process_whole_blood_location_container(
  user_data,
  con,
  created_col,
  last_updated_col,
  box_name_col,
  box_barcode_col,
  location_root_col,
  level_I_col,
  level_II_col
)

Arguments

user_data

A dataframe containing the payload data.

con

A database connection object.

created_col

Column name in user_data for created date.

last_updated_col

Column name in user_data for last updated date.

box_name_col

Column name in user_data for box name.

box_barcode_col

Column name in user_data for box barcode.

Value

A dataframe with the location ids and cryovial box ids.