Description Usage Arguments Details Value Examples
Print a list of controlled vocabulary terms
1 2 3 4 5 6 7 8 | get_cv_terms(cvtype = c("units", "variablename", "samplingfeaturetype",
"medium", "methodtype", "actiontype", "annotationtype",
"relationshiptype", "censorcode", "dataqualitytype", "datasettype",
"directivetype", "elevationdatum", "equipmenttype", "organizationtype",
"aggregationstatistic", "propertydatatype", "qualitycode", "resulttype",
"samplingfeaturegeotype", "sitetype", "spatialoffsettype", "speciation",
"specimentype", "status", "taxonomicclassifiertype", "unitstype",
"variabletype"), quietly = FALSE)
|
cvtype |
the name of the controlled vocab eg. "resulttype" or "methodtype" |
quietly |
whether to print in console or not |
This function returns a character vector of terms from a selected controlled vocabularly and, optionally, prints those names in the R console. Controlled vocabularies are hosted at http://vocabulary.odm2.org/ as well as pre-populated in the database template in rodm2. This function relies on the CV terms in the pre-populated ODM2 database template.
a vector of the Names column from the controlled vocab table
1 2 | get_cv_terms("resulttype")
resultterms <- get_cv_terms("resulttype")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.