- Notifications
You must be signed in to change notification settings - Fork7
GioBo/TR8
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
R package for downloading functional traits data for plant species
Plant ecologists often need to collect "traits" data about plant species which areoften scattered among various databases: TR8 contains a set of tools which take care ofautomatically retrieving some of those functional traits data for plant species fromthe following publicly available databases:
- The Ecological Flora of the British Isles
- LEDA traitbase
- Ellenberg values for Italian Flora
- Mycorrhizal intensity database
- http://luirig.altervista.org/
- MycoFlor
- BROT
- PLANTS
- Ecological Flora of California
As of September 2024, the following trait databases are not available any more, thusTR8 is not able to retrieve data from them:
You can either install the stable relase of the package using the version available on CRAN:
install.packages(TR8,dependencies=TRUE)
Or, if you want to try the devel version of the package hosted here, you will needdevtools:
## install the packageinstall.packages("devtools")## load itlibrary(devtools)## activate dev_modedev_mode(on=T)## install TR8install_github("GioBo/TR8")## load TR8library(TR8)## you can now work with TR8 functions## if you want to go back and use the CRAN version## already installed, simply deactivate dev_modedev_mode(on=F)
The package comes with two vignettes aimed at helping users: the first one is a basic guide on how to use the package main function (tr8()); to browse it, simply type in the R console:
vignette("TR8")The second one is a step-by-step description of what might be considered as a typical workflow for a plant ecologist who needs to collect traits' data and later analyze them; to view the vignette, write:
vignette("TR8_workflow")Please use the following citation whenever you mention the package in a scientific journal:
"Bocci, G. (2015). TR8: an R package for easily retrieving plant species traits. Methods in Ecology and Evolution, 6(3), 347-350."
Or, if you use BibTeX:
@Article{, author = {Bocci Gionata}, title = {TR8: an R package for easily retrieving plant species traits}, journal = {Methods in Ecology and Evolution}, year = {2015}, volume = {6}, number = {3}, pages = {347--350}, url = {http://dx.doi.org/10.1111/2041-210X.12327}, }Users of theTR8 package should always cite the sources of information which provided the traits data: the correct citations to be used for the retrieved data can be obtained through thebib method; to learn how to use it, just type:
?bibPlease checkNEWS file for other changes/updates from past versions of the package.
As of September 2024, the following trait databases are not available any more, thusTR8 is not able to retrieve data from them:
The tr8() function now has the additional parameter 'allow_persistent': when set to TRUE, tr8 will store retrieved databasesfrom LEDA and Ecoflora into local files to speed up future queries; if FALSE, the downloaded data will be store in a temp directory that willbe cleaned up at the end of the session; when NULL (default value), the user will be prompted for a choice between the two options(this new parameter is needed to comply with CRAN policies).
The package now is able to retrieve the trait "flower type after Kugler" from BiolFlor.
Data retrieval from Catminat has been updated.
The 'synonyms' argument for thetr8() function is still avaiable for backward compatibility, but is not workingin the current version of TR8; the mechanisms for checking for synonyms relied on thetnrs function fromtaxize package, which in turn uses taxosaurus.org website: the latter has been having some issues lately and that impair the functioning of TR8.The 'synonyms' argument will be restored in future if the issue with taxosaurus.org is fixed.
Graphical interface: as of version 0.9.21TR8 usesShiny in place of gWidgets to provide the user with a graphical interface to select traits to download.
When the HTML-GUI is being used, the user will have to select the traits of interest from the available lists and then click the "Send request" button and go back to the R console (NB: the browser web page will become inactive; the user will have to take care of closing it).
R compatibility: now R version > 3.5.0 is required for TR8 to work; this is needed to make the package compliant with CRAN policies.
Important note: the new version oftr8() accepts the new argument 'synonyms': when set to true the functiontnrs from the packagetaxize will be used to to search for synonyms of the provided species list and search trait data for them as well.
About
R package for downloading functional traits data for plant species
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.