Learn R Programming

⚠️There's a newer version (0.5.1) of this package.Take me there.

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

33

Version

0.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Scott Chamberlain

Last Published

August 27th, 2020

Functions in traits (0.5.0)

fe_native

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

Search for traits from BETYdb
leda

Access LEDA trait data
is_native

Check if a species is native somewhere
eol_invasive_

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

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

Query a BETY table
birdlife_habitat

Get bird habitat information from BirdLife/IUCN
birdlife_threats

Get bird threat information from BirdLife/IUCN
coral-defunct

Search for coral data on coraltraits.org
ncbi_byid

Retrieve gene sequences from NCBI by accession number.
ncbi_searcher

Search for gene sequences available for taxa from NCBI.
traits-defunct

Defunct functions in traits
traitbank

Search for traits from EOL's Traitbank
plantatt

PLANTATT plant traits dataset
tr_zanne

Zanne et al. plant dataset
tr_usda

USDA plants data
taxa_search

Search for traits by taxa names
traits_cache

Caching
tr_ernest

Amniote life history dataset
traits-package

traits - Species trait data from around the web
ncbi_byname

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