Skip to contents

Download chemical soil properties data for Africa for different soil depths. The spatial resolution is 30 arc-seconds (about 1 km2), aggregated from the original 250m resolution.

There are more recent estimations for some of the properties available in other data sets. See soil_af_isda and soil_world.

For more info, see https://web.archive.org/web/20250421195225/https://www.isric.org/projects/soil-property-maps-africa-250-m-resolution

The data have a CC-BY 4.0 NC license

Usage

soil_af(var, depth, path, ...)

Arguments

var

character. Variables name (see Details below). One of: "acid-exch", "Al-extr", "Al-exch", "bases-exch", "BDR", "BLKD", "Ca-exch", "CEC", "clay", "coarse", "drain", "ECN", "K-exch", "Mg-exch", "Na-exch", "Ntot", "pH", "sand", "silt", "SOC"

depth

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. Or one of 20, 50 for 0-20 or 20-50 cm

path

character. Path for storing the downloaded data. See geodata_path

...

additional arguments passed to download.file

Value

SpatRaster

Details

vardescriptionunit
claySoil texture fraction clay%
sandSoil texture fraction sand%
siltSoil texture fraction silt%
coarseCoarse fragments volumetric%
SOCOrganic carbong kg-1 (‰)
BLKDBulk density (fine earth)kg m-3
BDRDepth to bedrockcm
...
pHpH (H2O)-
ECNElectrical conductivitymS/m (?)
acid-exchExchangeable aciditycmol(+) kg-1
bases-exchSum of exchangeable basescmol(+) kg-1
CECCation Exchange Capacitycmol(+) kg-1
Al-extrExtractable Aluminum (Mehlich 3)mg kg-1 (ppm)
Al-exchExchangeable Aluminumcmol(+) kg-1
Ca-exchExchangeable Calciumcmol(+) kg-1
K-exchExchangeable Potassiumcmol(+) kg-1
Mg-exchExchangeable Magnesiumcmol(+) kg-1
Na-exchExchangeable Sodiumcmol(+) kg-1
NtotTotal nitrogeng kg-1

References

Hengl T, Heuvelink GBM, Kempen B, Leenaars JGB, Walsh MG, Shepherd KD, et al. (2015) Mapping Soil Properties of Africa at 250 m Resolution: Random Forests Significantly Improve Current Predictions. PLoS ONE 10(6): e0125814. doi:10.1371/journal.pone.0125814

Examples

# \donttest{
# downloads a large file
aph <- soil_af(var="ph", depth=5, path=tempdir())
# }