Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

febr (version 1.9.9)

morphology: Soil morphology

Description

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

Usage

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.

Examples

Run this code
# NOT RUN {
horizons <- layer(data.set = "ctb0025", variable = "morfologia_descricao")
color <- morphology(x = horizons$morfologia_descricao, variable = "color")
structure <- morphology(x = horizons$morfologia_descricao, variable = "structure")
consistence <- morphology(x = horizons$morfologia_descricao, variable = "consistence")
# }
# NOT RUN {
x <- "cinzento rosado (7.5YR 6/2, seco), bruno escuro (7.5YR 3/2, <U+00FA>mido)"
color <- morphology(x = x, variable = "color")
# }

Run the code above in your browser using DataLab