Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/TR8Public

R package for downloading functional traits data for plant species

NotificationsYou must be signed in to change notification settings

GioBo/TR8

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:

As of September 2024, the following trait databases are not available any more, thusTR8 is not able to retrieve data from them:

Install the package

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)

Usage

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")

Citation

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:

?bib

Changes from past versions

Please checkNEWS file for other changes/updates from past versions of the package.

TR8 v. 0.9.23

As of September 2024, the following trait databases are not available any more, thusTR8 is not able to retrieve data from them:

TR8 v. 0.9.22

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.

TR8 v. 0.9.21

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.

TR8 v. 0.9.20

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.

Research software impact

rstudio mirror downloads

cran version

Build Status

About

R package for downloading functional traits data for plant species

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp