Learn R Programming

taxlist (version 0.1.7)

tv2taxlist: Import species lists from Turboveg databases.

Description

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

Usage

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.

Value

An object of class '>taxlist.

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.

See Also

'>taxlist.

Examples

Run this code
# NOT RUN {
library(taxlist)

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

summary(Cyperus)
# }

Run the code above in your browser using DataLab