Skip to contents

Translation of USDA texture class number to "abr", "name_en" or "name_fr"

Usage

num_to_usda(texture = 1, to = "abr")

Arguments

to

convert numeric USDA class to. one of "abr", "name_en","name_fr"

Value

translated texture

Examples

num_to_usda(texture = 1:12, to = "abr")
#>  [1] "Cl"     "SiCl"   "SaCl"   "ClLo"   "SiClLo" "SaClLo" "Lo"     "SiLo"  
#>  [9] "SaLo"   "Si"     "LoSa"   "Sa"    
num_to_usda(texture = 1:12, to = "name_en")
#>  [1] "clay"            "silty clay"      "sandy clay"      "clay loam"      
#>  [5] "silty clay loam" "sandy clay loam" "loam"            "silty loam"     
#>  [9] "sandy loam"      "silt"            "loamy sand"      "sand"           
num_to_usda(texture = 1:12, to = "name_fr")
#>  [1] "argile"               "argile limoneuse"     "argile sableuse"     
#>  [4] "limon argileux"       "limon argileux fin"   "limon argilo-sableux"
#>  [7] "limon"                "limon fin"            "limon sableux"       
#> [10] "limon très fin"       "sable limoneux"       "sable"