Turboveg {vegsoup}R Documentation

Read From TurboVeg XML Files

Description

The base S3 function read.XML(file) reads data from XML files exported from the turboveg data base (Hennekens & Joop 2009).

Usage

read.XML(file)

Arguments

file

character. Path to a plain text file (text array).

Details

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.

Value

Vegsoup object

Author(s)

Roland Kaiser

References

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.

See Also

read.verbatim, plainsoup and instantsoup

Examples

file <- system.file("extdata", "turboveg.xml", package = "vegsoup")
x <- read.XML(file)
#	assign coordiantes
coordinates(x) <-  ~ e_coord + n_coord

[Package vegsoup version 0.2-7 Index]