Skip to contents

This function conducts a series of validation checks on DBS specimen data. The function will return any errors encountered during validation.

Usage

validate_dbs_sample(user_data, action, database)

Arguments

user_data

A data frame containing specimen data to validate.

action

The action being performed, e.g. "upload" or "move".

database

The database connection or specification to use for validation.

Value

A list containing validation errors, if any.