Prepare species layers from CASFRI v4

prepSpeciesLayers_CASFRI(
  destinationPath,
  outputPath,
  url = NULL,
  studyArea,
  rasterToMatch,
  sppEquiv,
  sppEquivCol,
  ...
)

Arguments

destinationPath

character, directory for downloaded/extracted inputs.

outputPath

character, specifying the output directory to use

url

optional character, source URL for the CASFRI data.

studyArea

study-area polygon used to crop/mask the inputs.

rasterToMatch

template raster defining CRS, extent, and resolution.

sppEquiv

species-equivalency table (e.g. LandR::sppEquivalencies_CA).

sppEquivCol

character, column of sppEquiv naming the species set.

...

additional arguments passed to lower-level functions.