This function converts numeric values for B_SC_WENR to values used by other OBIC functions if numeric values are entered.

format_soilcompaction(B_SC_WENR)

Arguments

B_SC_WENR

(numeric and/or character) Data on soil compaction risk that may have to be converted to string

Value

A standardized B_GWL_CLASS value as required for the OBIC functions. A character string.

Examples

format_soilcompaction(c('10', '11'))
#> [1] "Beperkt door veenlagen" "Van nature dicht"      
format_soilcompaction(c('2', '3',"Matig", "Groot"))
#> [1] "Beperkt" "Matig"   "Matig"   "Groot"