Extract and process soil morphological properties from field soil morphology descriptions.

morphology(x, variable = "color")

Arguments

x

Character string with field soil morphology description (in Portuguese).

variable

Character string defining the soil morphological property of interest. Options: color, structure, consistence.

Value

An object of class data.frame.

Autor

Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com

Examples

# \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")