ecoflora: Retrieves traits data from Ecoflora website

View source: R/ecoflora.R

ecofloraR Documentation

Retrieves traits data from Ecoflora website

Description

The function accepts a list of plant species names, tries to download the corresponding functional traits from the Ecoflora website (http://www.ecoflora.co.uk/) and return a data.frame with species names as rows and functional traits as columns.

Usage

ecoflora(species_list, reference = ECOFLORA_df, TRAITS)

Arguments

species_list

a vector containing list of plant species names.

reference

the reference lookup data.frame (this is not ment to be set by users; it is left here for further development)

TRAITS

a vector containing the traits to be downloaded (used as a check for tr8_gui() created variables)

Value

Return a data.frame with species as rows and traits as columns. Only those species present in the Ecoflora database will be included in this data.frame, other species will be left out.

Author(s)

Bocci Gionata

References

Fitter, A . H. and Peat , H. J., 1994, The Ecological Flora Database, J. Ecol., 82, 415-425.

See Also

traits_eco

Examples

## Not run: 
 #My_data<-ecoflora(species_list=c("Abies alba"))

## End(Not run)

GioBo/TR8 documentation built on June 16, 2022, 9:10 p.m.