Get list of annotations currently in database

db_get_annotations(db)

Arguments

db

database connection object

Value

a dataframe with the current values in the annotation code and annotation text columns

Examples

db <- create_sqlite(connect = TRUE) db_describe_annotation(db, annotationtext = "Riparian wells", annotationtypecv = "Site group")
#> Riparian wells has been entered into the Annotations table. #> Use db_annotate to tag items with annotations.
db_get_annotations(db)
#> AnnotationCode AnnotationText #> 1 Riparian wells