Ecoflora-class: Class '"Ecoflora"': Class containing traits from Ecological...

Ecoflora-classR Documentation

Class "Ecoflora": Class containing traits from Ecological Flora of the british Isles

Description

The class is a box containing url and traits data for species which are present in the Ecoflora website

Objects from the Class

Objects can be created by calls of the form new("Ecoflora", species_list, reference, traits).

Slots

species_list:

Object of class "vector" a list of species for which traits data are to be searched

reference:

Object of class "data.frame" a data frame containing web pages of the searched species

df:

Object of class "data.frame" a temporary df

not_valid:

Object of class "vector" species whose name were not present in the Ecoflora database

results:

Object of class "data.frame" dataframe containing scraped traits

traits:

Object of class "list" codes for the traits to be searched

double_names:

Object of class "vector" species for which more than one name was found

Methods

initialize

signature(.Object = "Ecoflora"): when initialized, some slots will be "cleaned"

retrieve

signature(.Object = "Ecoflora"): instructions to scrape data from the website

Note

Not all species listed on the Ecoflora website have all the listed traits.

Author(s)

Gionata Bocci boccigionata@gmail.com

References

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

See Also

See Also ecoflora

Examples

showClass("Ecoflora")

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