Skip to contents

Get AAGIS Region Mapping Files

Usage

get_aagis_regions(cache = TRUE)

Arguments

cache

Boolean Cache the AAGIS regions shape files after download using tools::R_user_dir() to identify the proper directory for storing user data in a cache for this package. Defaults to TRUE, caching the files locally as a native R object. If FALSE, this function uses tempdir() and the files are deleted upon closing of the R session.

Value

An sf object of the AAGIS regions

Examples

aagis <- get_aagis_regions()
plot(aagis)