Extract and process soil morphological properties from field soil morphology descriptions.
morphology(x, variable = "color")
Character string with field soil morphology description (in Portuguese).
Character string defining the soil morphological property of interest. Options:
color
, structure
, consistence
.
An object of class data.frame
.
# \donttest{
horizons <- layer(data.set = "ctb0025", variable = "morfologia_descricao")
#>
|
| | 0%
#>
#> Downloading ctb0025-camada...
#>
|
|======================================================================| 100%
color <- morphology(x = horizons$morfologia_descricao, variable = "color")
structure <- morphology(x = horizons$morfologia_descricao, variable = "structure")
consistence <- morphology(x = horizons$morfologia_descricao, variable = "consistence")
# }
x <- "cinzento rosado (7.5YR 6/2, seco), bruno escuro (7.5YR 3/2, úmido)"
color <- morphology(x = x, variable = "color")