get_nass_cdl
returns a SpatRaster
of NASS Cropland Data Layer cropped to a given
template study area.
An Simple Feature
or SpatRaster
object to serve as a template for cropping.
A character string naming the study area.
An integer representing the year of desired NASS Cropland Data Layer product. Acceptable values are 2007--the last year.
A character string indicating where the extracted and cropped NASS data should be put. The directory will be created if missing.
a vector of options for terra::writeRaster.
If an extraction for this template and label already exists, should a new one be created?
Draw a progress bar when downloading?
Other parameters passed on to get_nass_cdl.
A SpatRaster
cropped to the bounding box of the template.