Description Usage Arguments Details Value Examples
View source: R/db_describe_sample.R
Add details about a new sample
1 | 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 |
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
.
message that sample was added to sampling feature table
1 2 3 4 5 6 | db <- create_sqlite(connect = TRUE)
db_describe_site(db, site_code = "site1")
db_describe_sample(db,
sample_code = "sample001",
site_code = "site1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.