GIFT_overlap {GIFT} | R Documentation |
Spatial overlap between GIFT polygons and external polygons
Description
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 |
GIFT_version |
character string defining the version of the GIFT
database to use. The function retrieves by default the |
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
Value
A data frame with the spatial overlap.
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
See Also
Examples
glonaf <- GIFT_overlap(resource = "glonaf")
gmba <- GIFT_overlap(resource = "gmba")