Spatial overlap between GIFT polygons and external polygons
Source:R/GIFT_overlap.R
GIFT_overlap.Rd
Calculate the spatial overlap between GIFT polygons and shapefiles coming from other resources
Usage
GIFT_overlap(
resource = "glonaf",
GIFT_version = "latest",
api = "https://gift.uni-goettingen.de/api/extended/"
)
Arguments
- resource
A character string indicating from which resource the spatial overlap is calculated. Available options are
glonaf
andgmba
. glonaf stands for Global Naturalized Alien Flora and gmba for Global Mountain Biodiversity Assessment.- GIFT_version
character string defining the version of the GIFT database to use. The function retrieves by default the
latest
stable version. If set tobeta
, the most up-to-date version which is still subject to changes and edits is used.- api
character string defining from which API the data will be retrieved.
Details
The columns of the data.frame are the following:
entity_ID - Identification number of the GIFT polygon
glonaf_ID (or gmba_ID) - Identification number of the polygon
from the other resource
overlap12 - Spatial overlap in percentage between GIFT polygon and
the external polygon
overlap21 - The other way around
References
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. GIFT – A Global Inventory of Floras and
Traits for macroecology and biogeography. J Biogeogr. 2020; 47: 16– 43.
https://doi.org/10.1111/jbi.13623