The process_ecoregion
function imports and cleans raw ecoregion
data, returning a SpatVector
object.
process_ecoregion(path = NULL, extent = NULL, ...)
a SpatVector
object
character(1). Path to Ecoregion Shapefiles
numeric(4) or SpatExtent giving the extent of the raster
if NULL
(default), the entire raster is loaded
Placeholders.
Insang Song
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
if (FALSE) {
ecoregion <- process_ecoregion(
path = "./data/epa_ecoregion.gpkg"
)
}
Run the code above in your browser using DataLab