This function checks if the specimen type reference provided in the dataset exists in the database.
Note: This function assumes that the data is already present in the database.
Usage
validate_specimen_type_db(con, table_name, row_number_col, specimen_type_col)
Arguments
- con
A database connection object.
- table_name
The name of the formatted CSV table in the database.
- row_number_col
The name of the row number column.
- specimen_type_col
The name of the specimen type column.
Value
ErrorData object indicating any specimen types not found.