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

join_locations_and_boxes(
  con,
  user_data,
  box_name_col,
  box_barcode_col,
  location_root_col,
  level_I_col,
  level_II_col
)

Arguments

con

A database connection object.

user_data

A dataframe containing the payload data.

box_name_col

Column name in user_data for box name.

box_barcode_col

Column name in user_data for box barcode.