Downloads and loads the Commission for Environmental Cooperation (CEC) North America Level 2 Ecoregion boundaries as a spatial object.
Usage
get_nal2eco(
output = c("sf", "vect", "terra"),
cache = FALSE,
verbose = TRUE
)Arguments
- output
character(1)class of the returned spatial object. Either"sf"(default) or"vect"/"terra"for aterra::SpatVector.- cache
logical(1)orcharacter(1). Controls where the ZIP is cached.FALSE(the default) uses a temporary directory that is cleaned up when the R session ends.TRUEuses the platform user cache directory (tools::R_user_dir("fireR", "cache")). Supply a directory path as a string to specify a custom location.- verbose
logical(1)print progress messages.
Value
An sf object or terra::SpatVector of North America
Level 2 Ecoregion polygons.
Details
The Commission for Environmental Cooperation (CEC) North American ecoregion framework divides the continent into hierarchical levels based on similarity of ecosystems and the type, quality, and quantity of environmental resources. Level 2 subdivides the Level 1 regions into finer ecological units. Data are sourced from the US EPA / CEC ecoregion mapping programme.