| tridas.vocabulary {dplR} | R Documentation |
Browse and Check Standard TRiDaS Vocabulary
Description
This function can be used to browse the TRiDaS vocabulary by category.
Usage
tridas.vocabulary(category = c("dating type", "measuring method",
"shape", "location type", "variable", "unit",
"remark", "dating suffix", "presence / absence",
"complex presence / absence", "certainty"),
idx = NA, term = NA, match.exact = FALSE)
Arguments
category |
Vocabulary category as a |
idx |
A |
term |
A |
match.exact |
A |
Details
The Tree Ring Data Standard (TRiDaS) is described in Jansma et. al (2010).
The function has four usage modes:
When
idxis given, returns item numberidxin the givencategory. There may be several numbers inidx, in which case multiple items are returned.When
termcontains one or more items andmatch.exactisTRUE, checks whether any of the terms is an exact match in the givencategoryWhen
termcontains one or more items andmatch.exactisFALSE, expands partial matches of the terms in the vocabulary of the givencategoryWhen only
categoryis given, returns the complete vocabulary in the givencategory
Value
In mode 1 |
A |
In mode 2 |
A |
In mode 3 |
A |
In mode 4 |
A |
Author(s)
Mikko Korpela
References
Jansma, E., Brewer, P. W., and Zandhuis, I. (2010) TRiDaS 1.1: The tree-ring data standard. Dendrochronologia, 28(2), 99–130.
See Also
Examples
## 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"))