Turboveg {vegsoup} | R Documentation |
The base S3 function read.XML(file)
reads data from XML files exported
from the turboveg data base (Hennekens & Joop 2009).
read.XML(file)
file |
character. Path to a plain text file (text array). |
The way turboveg exports to XML is very similar to the data model of a Vegsoup object. The function tries to format the date field that is in the standard_record tag to POSIX standard.
Vegsoup
object
Roland Kaiser
Hennekens, S M and Joop, H J. 2009. Turboveg, a comprehensive data base management system for vegetation data. Journal of Vegetation Science, 12:589–591.
read.verbatim
, plainsoup
and instantsoup
file <- system.file("extdata", "turboveg.xml", package = "vegsoup") x <- read.XML(file) # assign coordiantes sites(x) coordinates(x) <- ~ e_coord + n_coord