Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/tridas.vocabulary.R
This function can be used to browse the TRiDaS vocabulary by category.
1 2 3 4 5 |
category |
Vocabulary category as a |
idx |
A |
term |
A |
match.exact |
A |
The Tree Ring Data Standard (TRiDaS) is described in Jansma et. al (2010). Information about the current version of the standard can be found from TRiDaS website.
The function has four usage modes:
When idx
is given, returns item number
idx
in the given category
. There may be
several numbers in idx
, in which case multiple items
are returned.
When term
contains one or more items and
match.exact
is TRUE
, checks whether any of the
terms is an exact match in the given category
When term
contains one or more items and
match.exact
is FALSE
, expands partial matches of
the terms in the vocabulary of the given category
When only category
is given, returns the complete
vocabulary in the given category
In mode 1 |
A |
In mode 2 |
A |
In mode 3 |
A |
In mode 4 |
A |
Mikko Korpela
Jansma, E., Brewer, P. W., and Zandhuis, I. (2010) TRiDaS 1.1: The tree-ring data standard. Dendrochronologia, 28(2), 99–130.
TRiDaS – The Tree Ring Data Standard. http://www.tridas.org/.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Show all entries in category "measuring method"
tridas.vocabulary(category = "measuring")
## Show item number one in category "complex presence / absence"
tridas.vocabulary(category = "complex", idx = 1)
## Check whether "half section" exists in category "shape"
tridas.vocabulary(category = "shape", term = "half section",
match.exact = TRUE)
## Return unabbreviated matches to several queries in category "remark"
tridas.vocabulary(category = "remark",
term = c("trauma", "fire", "diffuse"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.