Skip to contents

This R package includes several functions to extract data from the Global Inventory of Floras and Traits (GIFT) database.
GIFT is a global database of plant checklists, covering several taxonomic groups and providing information on the floristic status and functional traits of plants as well as environmental information for each checklist.
More details on the contents of this database can be found in the publication by Weigelt et al., (2020).

⏬ Installation

The package is available on CRAN, you can install and load it using the following commands:

GIFT is still under active development. You can install the development version from the GitHub repository using the following commands:

# install.packages("devtools")
remotes::install_github("https://github.com/BioGeoMacro/GIFT",
dependencies = TRUE)
library("GIFT")

📜 Vignettes

We have written several vignettes to help you use the GIFT R package. Three vignettes are available:

Alternatively, if you prefer to view the vignettes in R, you can install the package with build_vignettes = TRUE.

remotes::install_github("https://github.com/BioGeoMacro/GIFT", 
                        dependencies = TRUE, upgrade = "ask", 
                        build_vignettes = TRUE)

vignette("GIFT")

🖥️ Functions

An overview of all functions and data is given here.

🐛 Find a bug?

Thank you for finding it. Head over to the GitHub Issues tab and let us know about it. Alternatively, you can also send us an email. We will try to get to it as soon as possible!

References and dependencies

GIFT depends on ape, dplyr, jsonlite, phytools, purrr, sf, stats, tidyr and utils.

Weigelt, P., König, C. & Kreft, H. (2020) GIFT – A Global Inventory of Floras and Traits for macroecology and biogeography. Journal of Biogeography, https://doi.org/10.1111/jbi.13623.