Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

soil

Soil data


Description

Download soil data. Currently only iSDA soil data for Africa. Aggregated to 30-seconds resolutin.

Usage

soil_africa(var, depth=20, version=0.13, path)

Arguments

var

character. Variables name. One of: "ph_h2o", "log.ecec.f", "log.oc", "log.k_mehlich3", "log.p_mehlich3"

depth

numeric. One of 20 (for 0-20 cm) and 50 (for 20-50 cm)

version

integer. Only version 0.13 is currently available

path

character. Path name where the data should be downloaded to

Value

SpatRaster

See Also

Examples

ph <- soil_africa(var="ph_h2o", path=tempdir())

geodata

Download Geographic Data

v0.2-3
GPL (>= 3)
Authors
Robert J. Hijmans [cre, aut], Aniruddha Ghosh [ctb], Alex Mandel [ctb]
Initial release
2021-05-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.