process_nlcd | R Documentation |
The process_nlcd()
function imports and cleans raw land cover data,
returning a single SpatRaster
object.
Reads NLCD file of selected year
.
process_nlcd(path = NULL, year = 2021, extent = NULL, ...)
path |
character giving nlcd data path |
year |
numeric giving the year of NLCD data used |
extent |
numeric(4) or SpatExtent giving the extent of the raster
if |
... |
Placeholders. |
a SpatRaster
object
Eva Marques, Insang Song
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
## Not run:
nlcd <- process_nlcd(
path = "./data/",
year = 2021
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.