# NOT RUN {
coords_sp <- SpatialPoints(cbind(long = -5.6333, lat = 42.6667),
CRS("+proj=longlat +datum=WGS84"))
foo <- soilgridsParams(coords_sp, widths = c(300, 700, 1000))
foo_soil <- soil(foo)
foo_soil
# }
Run the code above in your browser using DataLab