read.XML: Read From TurboVeg XML Files

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1

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

1
2
3
4
5
6
7
file <- system.file("extdata", "turboveg.xml", package = "vegsoup")
x <- read.XML(file)

#	assign coordiantes
sites(x)

coordinates(x) <-  ~ e_coord + n_coord

vegsoup documentation built on Feb. 24, 2021, 3 a.m.