Add details about a new sample
db_describe_sample(db, sample_code, site_code)
db | database connection |
---|---|
sample_code | sampling feature code for sample |
site_code | sampling feature code for where sample was collected from |
message that sample was added to sampling feature table
Adds entry to samplingfeatures table as type 'Specimen' and entry into
related features table that "sample_code" wasCollectedAt "site_code".
Does not add an action for specimen collection - for that use db_insert_results_samples
.
#>db_describe_sample(db, sample_code = "sample001", site_code = "site1")#>