This function imports and cleans raw PRISM data,
returning a single SpatRaster
object.
Reads time series or 30-year normal PRISM data.
Arguments
- path
character giving PRISM data path Both file and directory path are acceptable.
- element
character(1). PRISM element name
- time
character(1). PRISM time name. Should be character in length of 2, 4, 6, or 8. "annual" is acceptable.
- extent
numeric(4) or SpatExtent giving the extent of the raster if
NULL
(default), the entire raster is loaded- ...
Placeholders.