
Upload Specimens to SampleDB
dot-UploadSpecimens.Rd
This internal function uploads specimen data to the SampleDB database. It validates the data and checks for existing entries before updating the database.
Arguments
- upload_data
A data frame containing the specimen data.
- sample_type_id
A character or numeric identifier for the sample type.
- conn
A database connection object.
- extraction
This is an extraction from a control, not a regular sample. This will enforce some checks to make sure we are not writing to the database when we should only be reading from certain tables. An example is the study subject table, which we should only read from during an extraction.