makeBioregDT: MAKE TABLE OF BIOGEOGRAPHIC REGION BY PIXEL ID

View source: R/networksUtils.R

makeBioregDTR Documentation

MAKE TABLE OF BIOGEOGRAPHIC REGION BY PIXEL ID

Description

Downloads and processes biogeographic regions layer to identify biogeographi region names per network pixel ID

Usage

makeBioregDT(rasterToMatch = NULL, maskID = NULL, args = NULL)

Arguments

rasterToMatch

must be provided and match pixel IDs and names in maskID

maskID

table with at least the column 'PageName' (the "names" of non-NA pixels). NA-ed pixels in rasterToMatch should not appear in this table.

args

named list of other arguments passed to reproducible::prepInputs to download and process a layer of biogeographic regions. The following defaults are used, if not provided: url = "https://www.eea.europa.eu/data-and-maps/data/biogeographical-regions-europe-3/zipped-shapefile-format-vector-polygon/zipped-shapefile-format-vector-polygon/at_download/file" archive = "file.zip" targetFile = "BiogeoRegions2016.shp" rasterToMatch = mask10k fun = "raster::shapefile" overwrite = TRUE destinationPath = "Habitats/Bioregions" useCache = FALSE cacheRepo = options("reproducible.cachePath")


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.