Learn R Programming

traits

R client for various sources of species trait data.

Docs: https://docs.ropensci.org/traits/

What is a trait? A "trait" for the purposes of this package is broadly defined as an aspect of a species that can be described or measured, such as physical traits (size, length, height, color), behavioral traits (running speed, etc.), and even variables that make up the niche of the species (e.g., habitat).

Included in traits with the associated function prefix or function name:

Talk to us on the issues page (https://github.com/ropensci/traits/issues) if you know of a source of traits data with an API, and we'll see about including it.

Installation

Stable CRAN version

install.packages("traits")

Or development version from GitHub

remotes::install_github("ropensci/traits")
library("traits")
library("dplyr")

Contributors

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for traits in R doing citation(package = 'traits')
  • Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('traits')

Monthly Downloads

91

Version

0.5.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

May 17th, 2024

Functions in traits (0.5.1)

tr_ernest

Amniote life history dataset
traits-package

traits - Species trait data from around the web
traits_cache

Caching
plantatt

PLANTATT plant traits dataset
birdlife_threats

Get bird threat information from BirdLife/IUCN
eol_invasive_

Search for presence of taxonomic names in EOL invasive species databases
betydb

Search for traits from BETYdb
leda

Access LEDA trait data
betydb_query

Query a BETY table
birdlife_habitat

Get bird habitat information from BirdLife/IUCN
ncbi_byname

Retrieve gene sequences from NCBI by taxon name and gene names.
traitbank

Search for traits from EOL's Traitbank
taxa_search

Search for traits by taxa names
tr_zanne

Zanne et al. plant dataset
traits-defunct

Defunct functions in traits
ncbi_byid

Retrieve gene sequences from NCBI by accession number.
ncbi_searcher

Search for gene sequences available for taxa from NCBI.
g_invasive

Check invasive species status for a set of species from GISD database
is_native

Check if a species is native somewhere
coral-defunct

Search for coral data on coraltraits.org
fe_native

Check species status (native, exotic, ...) from Flora Europaea webpage
tr_usda

USDA plants data