Skip to contents

Download an UTM tile of the ESRI Land Cover Explorer for a specified year

Usage

fd_landcover_esri(utm_code, year, quiet = TRUE)

Arguments

utm_code

a character string of length 1 with an UTM code (e.g. "29N")

year

an integer or vector of integers corresponding to the base year of the Land Cover image. The option year = 'all' downloads all the available images

quiet

if TRUE (the default), suppress status messages, and the progress bar

Value

A SpatRaster

Examples

# \donttest{
# Download Land Cover for UTM tile 29N year 2022
lc <- fd_landcover_esri("29N", year = 2020)

# Download Land Cover for UTM time 29N for all years
lc <- fd_landcover_esri("29N", year = "all")
# }