Learn R Programming

febr (version 1.9.9)

taxonomy: Process soil taxonomy

Description

Extract and process soil taxonomic data from textual soil classification descriptions of the Brazilian Soil Classification System (SiBCS).

Usage

taxonomy(
  text,
  method = "decompose",
  sep = " ",
  pattern = c(", ", " A ", " textura ")
)

Arguments

text

Character string(s) with soil classification description(s) (in Portuguese).

method

Character string defining the string processing method. Options:

  • "decompose": decompose the Brazilian soil classification into its four higher categorical levels (order, suborder, large group, and subgroup).

sep

Character string. Defaults to sep = " ".

pattern

Character string (in Portuguese). Defaults to pattern = c(", ", " A ", " textura ").

Value

An object of class base::data.frame with four named columns: ordem (UPPER CASE), subordem (UPPER CASE), grangrupo (Title Case), and subgrupo (lower case).

References

Santos, H. G. dos, Jacomine, P. K. T., Anjos, L. H. C. dos, Oliveira, V. <U+00C1>. de, Lumbreras, J. F., Coelho, M. R., Almeida, J. A. de, Ara<U+00FA>jo Filho, J. C. de, Oliveira, J. B. de, & Cunha, T. J. F. (2018). Sistema Brasileiro de Classifica<U+00E7><U+00E3>o de Solos (5th ed., p. 531). Embrapa. https://www.infoteca.cnptia.embrapa.br/infoteca/handle/doc/1094003.

IBGE. (2015). Manual T<U+00E9>cnico de Pedologia (3rd ed., p. 430). Instituto Brasileiro de Geografia e Estat<U+00ED>stica. https://biblioteca.ibge.gov.br/visualizacao/livros/liv95017.pdf

Examples

Run this code
# NOT RUN {
text <-
  c("CAMBISSOLO H<U+00C1>PLICO Ta Eutr<U+00F3>fico l<U+00E9>ptico A proeminente textura m<U+00E9>dia",
    "PLANOSSOLO H<U+00C1>PLICO Distr<U+00F3>fico sol<U+00F3>dico <U+00EA>ndico plintoss<U+00F3>lico, textura m<U+00E9>dia, Tb",
    "CHERNOSSOLO ARGIL<U+00DA>VICO <U+00D3>rtico t<U+00ED>pico textura m<U+00E9>dia com cascalho/argilosa com cascalho",
    "ARGISSOLO VERMELHO-AMARELO",
    "Latossolo"
  )
taxonomy(text)
# }

Run the code above in your browser using DataLab