soil_grids_vsi: soil grids_vsi

soil_world_vsiR Documentation

soil grids_vsi


Virtually connect to the global soilgrids data. See for more info.

data license: CC-BY 4.0


soil_world_vsi(var, depth, stat="mean", name="")



character. Variables name. One of: "bdod", "cfvo", "clay", "nitrogen", "ocd", "ocs", "phh2o", "sand", "silt", "soc", "wrb". See Details


numeric. One of 5, 15, 30, 60, 100, 200. This is shorthand for the following depth ranges: 0-5, 5-15, 15-30, 30-60, 60-100, 100-200 cm. Ignored if var="wrb"


character. One of "mean", "uncertainty", "Q0.05", "Q0.5", "Q0.95". Ignored if var="wrb"


character. One of 'Acrisols', 'Albeluvisols', 'Alisols', 'Andosols', 'Arenosols', 'Calcisols', 'Cambisols', 'Chernozems', 'Cryosols', 'Durisols', 'Ferralsols', 'Fluvisols', 'Gleysols', 'Gypsisols', 'Histosols', 'Kastanozems', 'Leptosols', 'Lixisols', 'Luvisols', 'Nitisols', 'Phaeozems', 'Planosols', 'Plinthosols', 'Podzols', 'Regosols', 'Solonchaks', 'Solonetz', 'Stagnosols', 'Umbrisols', 'Vertisols'. Only used when var="wrb"


The below table lists the variable names, a description, and the units of the variables. Note that these units are not standard units, and are different from the data for other soil data available through this package.

var description unit
bdod Bulk density of the fine earth fraction cg cm-3
cec Cation Exchange Capacity of the soil mmol(+) kg-1
cfvo Vol. fraction of coarse fragments (> 2 mm)
nitrogen Total nitrogen (N) cg kg-1
phh2o pH (H2O) -
sand Sand (> 0.05 mm) in fine earth
silt Silt (0.002-0.05 mm) in fine earth
clay Clay (< 0.002 mm) in fine earth
soc Soil organic carbon in fine earth dg kg-1
ocd Organic carbon density hg m-3
ocs Organic carbon stocks hg m-2




Poggio, L., de Sousa, L.M., Batjes, N.H., Heuvelink, G.B.M., Kempen, B., Ribeiro, E., and Rossiter, D., 2021. SoilGrids 2.0: producing soil information for the globe with quantified spatial uncertainty. Soil 7:217-240, 2021. doi:10.5194/soil-7-217-2021

See Also

soil_world to download these data at 30-seconds spatial resolution.

For Africa: soil_af_isda, soil_af, soil_af_elements


ph <- soil_world_vsi(var="phh2o", depth=5)
# perhaps this does not work anymore
#plot(ph, maxcell=10000)

geodata documentation built on Oct. 13, 2023, 9:07 a.m.