Description Usage Arguments Details Value See Also Examples
View source: R/db_describe_annotation.R
Add a new annotation text
1 2 | db_describe_annotation(db, annotationtext = NULL,
annotationtypecv = NULL, annotationcode = NULL)
|
db |
database connection object |
annotationtext |
text string of annotation. |
annotationtypecv |
annotation type from controlled vocab |
annotationcode |
Optional short codename for annotation |
Use this function to add new annotations such as the name of a Site group. Annotation text is required but if an annotation code is provided then that will be used as the annotation text as well.
message if successful
Other describe functions: db_describe_equipment
,
db_describe_method
,
db_describe_organization
,
db_describe_person
,
db_describe_site
,
db_describe_variable
1 2 3 4 5 6 7 8 9 10 | db <- create_sqlite(connect = TRUE)
db_describe_annotation(db,
annotationtext = "Riparian wells",
annotationtypecv = "Site group")
db_describe_annotation(db,
annotationtext = "January sampling campaign",
annotationtypecv = "Specimen group",
annotationcode = "Jan")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.