-
Notifications
You must be signed in to change notification settings - Fork 13
/
README.Rmd
122 lines (100 loc) · 4.03 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
traits
=======
```{r echo=FALSE}
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
warning = FALSE,
message = FALSE
)
```
<!--[![cran checks](https://cranchecks.info/badges/worst/traits)](https://cranchecks.info/pkgs/traits)-->
[![Build Status](https://travis-ci.org/ropensci/traits.svg?branch=master)](https://travis-ci.org/ropensci/traits)
[![codecov](https://codecov.io/gh/ropensci/traits/branch/master/graph/badge.svg)](https://codecov.io/gh/ropensci/traits)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/traits)](https://github.com/r-hub/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/traits)](https://CRAN.R-project.org/package=traits)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11224037.svg)](https://doi.org/10.5281/zenodo.11224037)
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:
<table>
<colgroup>
<col style="text-align:left;"/>
<col style="text-align:left;"/>
<col style="text-align:left;"/>
<col style="text-align:left;"/>
</colgroup>
<thead>
<tr>
<th style="text-align:left;">Souce</th>
<th style="text-align:left;">Function prefix</th>
<th style="text-align:left;">Link</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left;">BETYdb</td>
<td style="text-align:left;"><code>betydb_</code></td>
<td style="text-align:left;">https://www.betydb.org/</td>
</tr>
<tr>
<td style="text-align:left;">NCBI</td>
<td style="text-align:left;"><code>ncbi_</code></td>
<td style="text-align:left;">https://www.ncbi.nlm.nih.gov/</td>
</tr>
<tr>
<td style="text-align:left;">Encylopedia of Life</td>
<td style="text-align:left;"><code>traitbank_</code></td>
<td style="text-align:left;">https://github.com/EOL/eol_website/blob/master/doc/api.md</td>
</tr>
<tr>
<td style="text-align:left;">Birdlife International</td>
<td style="text-align:left;"><code>birdlife_</code></td>
<td style="text-align:left;">https://www.birdlife.org/</td>
</tr>
<tr>
<td style="text-align:left;">LEDA Traitbase</td>
<td style="text-align:left;"><code>leda_</code></td>
<td style="text-align:left;"></td>
</tr>
<tr>
<td style="text-align:left;">Zanne et al. plant dataset</td>
<td style="text-align:left;"><code>tr_zanne</code></td>
<td style="text-align:left;"></td>
</tr>
<tr>
<td style="text-align:left;">Amniote life history dataset</td>
<td style="text-align:left;"><code>tr_ernest</code></td>
<td style="text-align:left;"></td>
</tr>
</tbody>
</table>
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
```{r eval=FALSE}
install.packages("traits")
```
Or development version from GitHub
```{r eval=FALSE}
remotes::install_github("ropensci/traits")
```
```{r}
library("traits")
library("dplyr")
```
## Contributors
* [Scott Chamberlain](https://github.com/sckott)
* [Zachary Foster](https://github.com/zachary-foster)
* [Ignasi Bartomeus](https://github.com/ibartomeus)
* [David LeBauer](https://github.com/dlebauer)
* [David Harris](https://github.com/davharris)
* [Chris Black](https://github.com/infotroph)
* [Rupert Collins](https://github.com/boopsboops)
## Meta
* Please [report any issues or bugs](https://github.com/ropensci/traits/issues).
* 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](https://ropensci.org/code-of-conduct/). By contributing to this project, you agree to abide by its terms.
[![ropensci_footer](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)