Learn R Programming

apsimx (version 2.8.271)

get_slga_soil: Retrieve soil profile data from SLGA (Soils for Australia)

Description

This function gets a soil profile for the Australia extent

Usage

get_slga_soil(lonlat)

Value

a data.frame with elements: depth (midpoint in cm), depths (as character in cm), thickness (cm), clay, sand, silt, wv1500, wv0033, bdod, nitrogen, phh2o, cec, soc

Arguments

lonlat

Longitude and latitude vector (e.g. c(151.8306, -27.4969))

Author

Chloe (Yunru Lai) and Fernando E. Miguez

Details

The data comes from https://esoil.io/TERNLandscapes/Public/Pages/SLGA/index.html

Examples

Run this code
if (FALSE) {
## retrieve data from longitude and latitude 151.8305805675806 and -27.496873026858598
## Note: This can take a couple of minutes
slga.soil <- get_slga_soil(lonlat = c(151.8306, -27.4969)) 

}

Run the code above in your browser using DataLab