tv2taxlist: Import species lists from Turboveg databases.

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

View source: R/tv2taxlist.R

Description

Importing species lists from Turboveg https://www.synbiosys.alterra.nl/turboveg/ databases into an object of class taxlist.

Usage

1
tv2taxlist(taxlist, tv_home=tv.home())

Arguments

taxlist

The name of a species list in Turboveg as character value.

tv_home

Character value indicating the path to the main Turboveg folder.

Details

This function imports species lists using the function read.dbf. When available, also taxon traits will be imported into the output object (usually the file 'ecodbase.dbf'). During import of taxon traits, duplicated entries for a same concept will be discarded as well as entries for non-existing concepts.

By default tv_home will be set by the function tv.home from the package vegata.

By default, the name of the database will be set as concept view for all concepts included in the species list. If this is not correct, consider setting it manually by using the functions taxon_views and add_view.

Value

An object of class taxlist.

Author(s)

Miguel Alvarez, [email protected]

See Also

taxlist.

Examples

1
2
3
4
5
6
library(taxlist)

## Cyperus data set installed as Turboveg species list
Cyperus <- tv2taxlist("cyperus", file.path(path.package("taxlist"), "tv_data"))

summary(Cyperus)

taxlist documentation built on July 2, 2018, 1:03 a.m.