Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

austraits

R package for accessing the AusTraits Plant database, an open-source, harmonized database of Australian plant trait data.
https://github.com/traitecoevo/austraits

australia database plants traits

Last synced: about 1 hour ago
JSON representation

Repository metadata

R package for accessing the AusTraits Plant database

README

        

---
output: github_document
editor_options:
chunk_output_type: console
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
message = FALSE,
warning = FALSE
)

library(austraits)
library(stringr)
library(dplyr)
```

# austraits

[![R-CMD-check](https://github.com/traitecoevo/austraits/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/traitecoevo/austraits/actions/workflows/R-CMD-check.yml)
[![codecov](https://codecov.io/gh/traitecoevo/austraits/branch/master/graph/badge.svg?token=JT1M0AMZ44)](https://codecov.io/gh/traitecoevo/austraits)
[![](https://img.shields.io/badge/doi-10.1038/s41597--021--01006--6-blue.svg)](https://doi.org/10.1038/s41597-021-01006-6)
[![](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![Codecov test coverage](https://codecov.io/gh/traitecoevo/austraits/branch/master/graph/badge.svg)](https://app.codecov.io/gh/traitecoevo/austraits?branch=master)

`austraits` allow users to access, explore and wrangle data from the AusTraits database in `R`. This package includes several functions such as filtering and pivoting the dataset that we expect will come in handy.

**For R users**, access and manipulation of the data is assisted with the `austraits` package

**For Python or other users**, the [Zenodo download](https://zenodo.org/record/5112001#collapseTwo) includes a .zip file containing all the data in plain text (.csv files) and associated meta-data

### Installation

The package is not on CRAN yet and is still under active development. For the current stable release of `austraits`, which has full capabilities of the functions used in vignettes (e.g. plotting functions), use:

```{r setup, results = 'hide', eval = FALSE}
#install.packages("remotes")
remotes::install_github("traitecoevo/austraits", dependencies = TRUE, upgrade = "ask")

library(austraits)
```

Otherwise, for a lightweight installation where dependencies for plotting and the vignettes will not be installed, use:

```{r light, results = 'hide', eval = FALSE}
remotes::install_github("traitecoevo/austraits", upgrade = "ask")
```

### Take a good look at our vignettes! `r emo::ji("eyes")`

In our website, we have also included information about the [structure of the database](https://traitecoevo.github.io/austraits/articles/structure.html), [definitions of the traits](https://traitecoevo.github.io/austraits/articles/dictionary.html) and some [tutorials](https://traitecoevo.github.io/austraits/articles/austraits.html) that uses our functions as well as some `tidyverse` functions to create some commonly used data output formats. We highly recommend starting here before jumping into the database!

If you prefer to view the vignettes in R, we recommend installing the package with `build_vignettes = TRUE`.

```{r, eval = FALSE}
remotes::install_github("traitecoevo/austraits",
dependencies = TRUE, upgrade = "ask",
build_vignettes = TRUE)

vignette("austraits")
```

### Show us some support `r emo::ji("green heart")`

Please consider citing `austraits`, we would super appreciate it!

```{r}
citation("austraits")
```

### Behind the scenes `r emo::ji("spanner")`

Check out [austraits.build](http://traitecoevo.github.io/austraits.build/), if you are interested in how AusTraits the database is managed and created

### Find a bug? `r emo::ji("bug")`

Thank you for finding it! Head over to the GitHub Issues tab and let us know about it! We will try to get to it as soon as we can!


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 24 days ago

Total Commits: 361
Total Committers: 8
Avg Commits per committer: 45.125
Development Distribution Score (DDS): 0.053

Commits in past year: 4
Committers in past year: 1
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Fonti Kar f****r@u****u 342
Daniel Falster d****r@u****u 13
runner r****r@M****l 1
runner r****r@M****l 1
runner r****r@M****l 1
Daniel Falster a****t@g****m 1
runner r****r@M****l 1
Dony Indiarto d****o@s****u 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 66
Total pull requests: 24
Average time to close issues: 2 months
Average time to close pull requests: 7 days
Total issue authors: 13
Total pull request authors: 2
Average comments per issue: 2.89
Average comments per pull request: 2.04
Merged pull request: 20
Bot issues: 0
Bot pull requests: 0

Past year issues: 15
Past year pull requests: 8
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 5 days
Past year issue authors: 8
Past year pull request authors: 2
Past year average comments per issue: 2.13
Past year average comments per pull request: 2.25
Past year merged pull request: 6
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/traitecoevo/austraits

Top Issue Authors

  • fontikar (40)
  • dfalster (7)
  • ehwenk (3)
  • yangsophieee (3)
  • dcol2804 (2)
  • edanweis (2)
  • rubysaltbush (2)
  • wcornwell (2)
  • alexskeels (1)
  • daxkellie (1)
  • itowers1 (1)
  • jrfep (1)
  • Rekyt (1)

Top Pull Request Authors

  • fontikar (17)
  • dfalster (7)

Top Issue Labels

  • coming soon! 👀 (25)
  • enhancement ✨ (12)
  • bug 🐛 (10)
  • documentation 📝 (4)
  • question 🙋 (1)
  • good first issue 🐾 (1)

Top Pull Request Labels


Dependencies

.github/workflows/R-CMD-check.yml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/pkgdown_deploy.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/test-coverage.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
DESCRIPTION cran
  • R >= 4.0.0 depends
  • RefManageR * depends
  • assertthat * imports
  • dplyr * imports
  • janitor * imports
  • jsonlite * imports
  • lifecycle * imports
  • magrittr * imports
  • purrr * imports
  • rlang * imports
  • stats * imports
  • stringr * imports
  • tidyr * imports
  • tidyselect * imports
  • utils * imports
  • forcats * suggests
  • ggbeeswarm * suggests
  • ggplot2 * suggests
  • ggpointdensity * suggests
  • gridExtra * suggests
  • kableExtra * suggests
  • knitr * suggests
  • markdown * suggests
  • rmarkdown * suggests
  • scales * suggests
  • testthat >= 3.0.0 suggests
  • viridis * suggests

Score: 5.743003187809482