Learn R Programming

GIFT

This R package includes several functions for extracting 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 publications by Weigelt et al., (2020) and Denelle et al., (2023).

:arrow_double_down: Installation

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

install.packages("GIFT")
library("GIFT")

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")

:scroll: 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")

:desktop_computer: Functions

An overview of all functions and data is given here.

:bug: 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.

Denelle, P., Weigelt, P., & Kreft, H. (2023). GIFT—An R package to access the Global Inventory of Floras and Traits. Methods in Ecology and Evolution, 14, 2738-2748. https://doi.org/10.1111/2041-210X.14213.

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.

Copy Link

Version

Install

install.packages('GIFT')

Monthly Downloads

315

Version

1.3.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Pierre Denelle

Last Published

December 19th, 2024

Functions in GIFT (1.3.3)

GIFT_phylogeny

Phylogeny of the species in GIFT
GIFT_species_distribution

GIFT species distribution
GIFT_species

Species list in GIFT
GIFT_references

Metadata for references available in GIFT
GIFT_taxgroup

Taxonomic group of species
GIFT_species_lookup

Species list in GIFT
GIFT_spatial

Spatial selection of GIFT checklists
GIFT_shapes

Shape files of GIFT regions
GIFT_traits_tax

Traits at the taxonomic level
GIFT_versions

Versions of GIFT available
GIFT_traits_raw

Raw trait values
GIFT_traits_meta

Trait metadata
GIFT_taxonomy

Taxonomy of GIFT
GIFT_traits

Trait values at the species level
GIFT_lists

Metadata for checklists available in GIFT
western_mediterranean

Shape file of the western Mediterranean basin
GIFT_regions

Metadata for GIFT regions
GIFT_richness

Species richness per geographic region and taxonomic group in GIFT
GIFT_checklists_conditional

GIFT checklists meta data
GIFT_env_meta_misc

Metadata for the environmental miscellaneous variables in GIFT
GIFT_no_overlap

Select non-overlapping regions
GIFT_checklists_raw

GIFT checklists
GIFT_checklists

GIFT checklists
GIFT_env

Environmental data for GIFT checklists
GIFT_coverage

Taxonomic and trait coverage per geographic region and taxonomic group in GIFT
GIFT_overlap

Spatial overlap between GIFT polygons and external polygons
GIFT_env_meta_raster

Metadata for the environmental rasters in GIFT