This indicator allows the extraction of zonal statistics for resource layers previously downloaded from SoilGrids, thus in total supporting the calculation of zonal statistics for 10 different soil properties at 6 different depths for a total of 4 different model outputs (stat). Zonal statistics will be calculated for all SoilGrid layers that have been previously made available vie get_resources().
engine: The preferred processing functions from either one of "zonal", "extract" or "exactextract" as character.
stats: Function to be applied to compute statistics for polygons either single or multiple inputs as character. Supported statistics are: "mean", "median", "sd", "min", "max", "sum" "var".
Returns
A function that returns an indicator tibble with soilgrid layers and statistics as variables and the corresponding statistics as value.