Learn R Programming

geodata (version 0.6-2)

soil_af_isda: iSDA soil data for Africa

Description

Download soil data for Africa derived from the iDSA data set. The original data were aligned and aggregated to 30 arc-seconds (about 1 km2). The original spatial resolution was 30m.

For more info see:

https://envirometrix.nl/isdasoil-open-soil-data-for-africa/

https://zenodo.org/search?page=1&size=20&q=iSDAsoil

Usage

soil_af_isda(var, depth=20, error=FALSE, path, virtual=FALSE, ...)

Value

SpatRaster

Arguments

var

character. The variables name, one of: "Al", "bdr", "clay", "C.tot", "Ca", "db.od", "eCEC.f", "Fe", "K", "Mg", "N.tot", "oc", "P", "pH.H2O", "sand", "silt", "S", "texture", "wpg2", "Zn".see Details

depth

numeric. One of 20 (for 0-20 cm) and 50 (for 20-50 cm). Ignored if var="bdr" for which the depth is always 0-200 cm

error

logical. If TRUE the error estimates are returned

path

character. Path for storing the downloaded data. See geodata_path

virtual

logical. If TRUE a virtual connection to the file is returned. This is useful if you want to extract a small area without downloading the entire raster

...

additional arguments passed to download.file

Details

vardescriptionunit
Alextractable aluminummg kg-1
bdrbed rock depthcm
clayclay content%
C.tottotal carbonkg-1
Caextractable calciummg kg-1
db.odbulk densitykg m-3
eCEC.feffective cation exchange capacitycmol(+) kg-1
Feextractable ironmg kg-1
Kextractable potassiummg kg-1
Mgextractable magnesiummg kg-1
N.tottotal organic nitrogeng kg-1
OCOrganic Carbong kg-1
PPhosphorus contentmg kg-1
pH.H2OpH (H2O)-
sandSand content%
siltSilt content%
SExtractable sulfermg kg-1
texturetexture class-
wpg2stone content%
ZnExtractable zincmg kg-1

References

Tomislav Hengl, Matthew A. E. Miller, Josip Križan, Keith D. Shepherd, Andrew Sila, Milan Kilibarda, Ognjen Antonijevic, Luka Glušica, Achim Dobermann, Stephan M. Haefele, Steve P. McGrath, Gifty E. Acquah, Jamie Collinson, Leandro Parente, Mohammadreza Sheykhmousa, Kazuki Saito, Jean-Martial Johnson, Jordan Chamberlin, Francis B.T. Silatsa, Martin Yemefack, John Wendt, Robert A. MacMillan, Ichsani Wheeler & Jonathan Crouch, 2021. African soil properties and nutrients mapped at 30 m spatial resolution using two-scale ensemble machine learning. Scientific Reports 11: 6130.

See Also

soil_af_elements, soil_af, soil_world

Examples

Run this code
# \donttest{
# downloads a large file
afph <- soil_af_isda("ph.h2o", path=tempdir(), quiet=TRUE)
# }

Run the code above in your browser using DataLab