glonafRegions {bRacatus} | R Documentation |
glonafRegions
Description
Gets regions listed by GloNAF for plant species
Usage
glonafRegions(species, native = "gift", nat_ref_reg = NULL)
Arguments
species |
character, species binomial name |
native |
character, source for the native reference regions. Options are "gift", "range map", or "checklist". If "gift" is chosen, the function will automatically download native regions listed by GIFT for the species. If "range map" or "checklist" is chosen, the user must provide a shapefile with either the species range map, or the features representing regions where it has been listed as native. Default is "gift". |
nat_ref_reg |
shapefile containing either the species native range map or checklist. The user must inform which reference region data type is being provided in the parameter "native". |
Value
This function returns a list containing three shapefiles derived by information supplied by GloNAF for the alien reference regions, and the chosen source for the native reference regions. "regs" includes all the features corresponding to regions where the species has been listed as present. "regs_native" includes all the features corresponding to regions where the species has been listed as native. And "regs_alien" includes all the features corresponding to regions where the species has been listed as alien.
Examples
glonaf_reference_regions <- glonafRegions("Ambrosia grayi")