Tr8-class | R Documentation |
"Tr8"
Class Tr8 is used as a "containter" for all other functions and classes needed to download traits data from various databases
Objects can be created by calls of the form new("Tr8", ...)
.
species_list
:Object of class "vector"
list of species for which traits data are to be searched
results
:Object of class "data.frame"
dataframe containing scraped traits
not_valid
:Object of class "vector"
species whose name were not present in the Ecoflora database
double_names
:Object of class "vector"
species for which more than one name was found
signature(.Object = "Tr8")
: method to get bibliographic references for the downloaded data
signature(.Object = "Tr8")
: method to underline
'problematic' species
signature(object = "Tr8")
: method to
extract the object@results dataframe from a Tr8 object
signature(.Object = "Tr8")
: a method to show brief reference for the downloaded data
signature(.Object = "Tr8")
: method to print
species names for which data retrieval was problematic
(e.g. double entries in remote databases).
Additional datasets may be added in future.
Gionata Bocci boccigionata@gmail.com
tr8
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.