Skip to contents

Takes crop names and returns raster object which is sum of raster of individual crops. Currently, only supports crops listed in geodata::monfredaCrops(), geodata::spamCrops() If crop is present in multiple sources, then their mean is calculated.

Usage

crops_rast(crop_names)

Arguments

crop_names

A named list of source along with crop names

Value

SpatRaster. Raster object which is sum of all the individual crop raster

Examples

# \donttest{
crops_rast(list(monfreda = c("wheat", "barley"), mapspam2010 = c("wheat", "potato")))
# }