Tr8-class {TR8} | R Documentation |
Class "Tr8"
Description
Class Tr8 is used as a "containter" for all other functions and classes needed to download traits data from various databases
Objects from the Class
Objects can be created by calls of the form new("Tr8", ...)
.
Slots
species_list
:Object of class
"vector"
list of species for which traits data are to be searchedresults
:Object of class
"data.frame"
dataframe containing scraped traitsnot_valid
:Object of class
"vector"
species whose name were not present in the Ecoflora databasedouble_names
:Object of class
"vector"
species for which more than one name was found
Methods
- bib
signature(.Object = "Tr8")
: method to get bibliographic references for the downloaded data- issues
signature(.Object = "Tr8")
: method to underline 'problematic' species- extract_traits
signature(object = "Tr8")
: method to extract the object@results dataframe from a Tr8 object- lookup
signature(.Object = "Tr8")
: a method to show brief reference for the downloaded data- issues
signature(.Object = "Tr8")
: method to print species names for which data retrieval was problematic (e.g. double entries in remote databases).
Note
Additional datasets may be added in future.
Author(s)
Gionata Bocci boccigionata@gmail.com
See Also
Examples
## Not run:
## the bib() methods let the user have the exact
## bibliographic citations to be used for the
## retrieved data
## download some trait data for Abies alba
My_traits<-tr8(species_list=c("Abies alba"),download_list=c("life_form_P"))
## See what citations should be used for the data
## bib(My_traits)
## to see a short explanation for the codes used to identify
## the traits use lookup()
lookup(My_traits)
## End(Not run)