read.tridas | R Documentation |
This function reads in a TRiDaS format XML file. Measurements, derived series and various kinds of metadata are supported.
read.tridas(fname, ids.from.titles = FALSE,
ids.from.identifiers = TRUE, combine.series = TRUE,
trim.whitespace = TRUE, warn.units = TRUE)
fname |
|
ids.from.titles |
|
ids.from.identifiers |
|
combine.series |
|
trim.whitespace |
|
warn.units |
|
The Tree Ring Data Standard (TRiDaS) is described in Jansma et. al (2010).
The parameters used for rearranging (ids.from.titles
,
ids.from.identifiers
) and combining
(combine.series
) measurement series only affect the four
lowest levels of document structure: element, sample, radius,
measurementSeries. Series are not reorganized or combined at the
upper structural levels (project, object).
A list with a variable number of components according to the contents of the input file. The possible list components are:
measurements |
A |
ids |
A If |
titles |
A |
wood.completeness |
A |
unit |
A |
project.id |
A |
project.title |
A |
site.id |
A |
site.title |
A |
taxon |
A |
variable |
A |
undated |
A
|
derived |
A
|
type |
A
|
comments |
A
|
identifier |
A
|
remark |
A
|
laboratory |
A
|
research |
A
|
altitude |
A
|
preferred |
A
|
This is an early version of the function. Bugs are likely to exist, and parameters and return values are subject to change. Not all metadata defined in the TRiDaS specification is supported – unsupported elements are quietly ignored.
Mikko Korpela
Jansma, E., Brewer, P. W., and Zandhuis, I. (2010) TRiDaS 1.1: The tree-ring data standard. Dendrochronologia, 28(2), 99–130.
read.rwl
, read.tucson
,
read.compact
, read.fh
,
write.tridas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.