Learn R Programming

Open Bodem Index Calculator (OBIC)

This R package can be used to calculate the Open Bodem Index (OBI). The OBI is a tool that evaluate the soil of agricultural fields based on four main criteria: chemical, physical, biological and management. These four criteria consist of more than 21 indicators to get a comprehensive picture of the soil. More information about the Open Bodem Index can be found at Open Bodem Index.

Installation

# Install from latest stable version from CRAN
install.packages("OBIC")

# Or install the development version from GitHub
remotes::install_github("AgroCares/Open-Bodem-Index-Calculator")

# Load the OBIC package in your script
library("OBIC")

Previous releases of OBIC can be found at releases section on the GitHub repository.

Documentation

Documentation of the R functions in the OBIC package can be found here

More information

The Open Bodem Index (OBI) is a collaboration between Wageningen UR, NMI and FarmHack in collaboration with agricultural experts. The Open Bodem Index Calculator is a tool used by the OBI and developed by NMI.

Copy Link

Version

Install

install.packages('OBIC')

Monthly Downloads

281

Version

4.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Sven Verweij

Last Published

January 30th, 2026

Functions in OBIC (4.2.1)

calc_nleach

Calculate the N leaching
calc_nlv

Calculate the NLV
calc_phosphate_availability

Calculate the phosphate availability (PBI)
calc_sealing_risk

Calculate soil sealing risk
calc_sbal_arable

Calculate the indicator for delta S-balance arable
calc_root_depth

Determine the root depth of the soil for this crop
calc_rotation_fraction

Calculates the fraction in the crop rotation
calc_sombalance

Calculate simple organic matter balance
calc_slv

Calculate the SLV
calc_zinc_availability

Calculate the availability of the metal Zinc
cf_ind_importance

Helper function to weight and correct the risk and scores
calc_psp

Calculate the precipitation surplus
calc_potassium_availability

Calculate the K availability
column_description.obic

Column description for the OBIC
calc_waterretention

Calculate indicators for water retention in topsoil
calc_waterstressindex

Calculate the Water Stress Index
calc_pmn

Calculate the index for the microbial biological activity
crops.makkink

Makkink correction factor table
format_soilcompaction

Convert possible B_SC_WENR values to standardized values
format_aer

Convert possible B_AER_CBS values to standardized values
calc_pesticide_leaching

Calculate risk of pesticide leaching
eval.crumbleability

Coefficient table for evaluating crumbleability
crops.obic

Linking table between crops and different functions in OBIC
ind_compaction

Calculate indicator for subsoil compaction
calc_ph_delta

Calculate the difference between pH and optimum
ind_cec

Calculate the indicator for soil fertility given the CEC
calc_n_efficiency

Calculate nitrogen use efficiency and leaching based on N surplus
ind_nematodes

Calculate indicator for plant parasitic nematodes
ind_n_efficiency

Calculate an indicator value for nitrogen use efficiency and leaching based on N surplus
ind_management

Calculate the indicator for sustainable management
evaluate_logistic

Evaluate using the general logistic function
ind_nretention

Calculate the indicator for N retention for groundwater or surface water
evaluate_parabolic

Evaluate using parabolic function with
ind_gw_target

Modify a groundwater recharge indicator with a target
ind_gw_recharge

Calculate groundwater recharge of a soil
ind_nitrogen

Calculate the indicator for NLV
ind_aggregatestability

Calculate the indicator aggregate stability
calc_winderodibility

Calculate indicator for wind erodibility
calc_workability

Calculate indicator for workability
ind_magnesium

Calculate the indicator for Magnesium
ind_potassium

Calculate the indicator for Potassium Availability
ind_pmn

Calculate the indicator for microbial biological activity
ind_man_ess

Calculate the indicator for sustainable management given a required ecoystem service
ind_pesticide_leaching

Calculate an indicator score for pesticide leaching
ind_sulfur

Calculate the indicator for SLV
ind_sealing

Calculate the soil sealing indicator
ind_workability

Calculate indicator for workability
ind_permeability

Calculate the indicator score for the permeability of the top soil
ind_zinc

Calculate the indicator for Zn-availability
ind_ph

Calculate the indicator for pH
ind_copper

Calculate the indicator for Cu-availability
ind_phosphate_availability

Calculate the indicator for the the phosphate availability
ind_bcs

Calculate the indicator for BodemConditieScore
ind_crumbleability

Calculate the indicator for crumbleability
nema.obic

Nematode table
ind_winderodibility

Calculate indicator for wind erodibility
ind_waterstressindex

Calculate the Water Stress Index
nleach_table

Table with fractions of excess N which runs off to groundwater and surface water
ind_psp

Calculate indicator for precipitation surplus
ind_nematodes_list

Calculate indicator for plant parasitic nematodes
obic_recommendations

Recommend measurements for better soil management
obic_recommendations_bkp

Recommend measurements for better soil management
ind_resistance

Calculate indicator for soil resistance
ind_sulpher

Calculate the indicator for SLV (deprecated)
obic_evalmeasure

Evaluate effects of measures
pF_curve

Water retention curve
pFpara_class

Parameter estimation based on class of Staringreeks (Tabel 3, Wosten 2001)
weather.obic

Weather table
ind_waterretention

Calculate indicator for Water Retention index
waterstress.obic

Linking table between crops, soils, groundwater tables and water induced stresses in OBIC
tbl.ph.delta

Table with optimal pH for different crop plans
weight.obic

Weight of indicators to calculate integrated scores
obic_farm

Calculate the Open Bodem Index score for a series of fields belonging to a farm
recom.obic

Applicability range of measures, including literature based estimates, of effects on soil indicators
season.obic

Desired growing season period for maximum yield
soils.obic

Linking table between soils and different functions in OBIC
recom.obic_bkp

Effects of measures on soil indicators
obic_field_dt

Calculate the Open Bodem Index score for a data table
nema.crop.rot.obic

Damage and reproduction of soil-borne pathogens and pests on crops
obic_field

Calculate the Open Bodem Index score for one field
pFpara_ptf_Wosten1999

Estimate water retention curve parameters based on Wosten 1999
pFpara_ptf_Wosten2001

Estimate water retention curve parameters based on Wosten 2001
management.obic

Relational table linking soil management measures to ecosystem services
binnenveld

Example dataset for use in OBIC package
calc_bulk_density

Calculate the bulk density
calc_crumbleability

Calculate the crumbleability
calc_bcs

Calculate the BodemConditieScore
calc_cropclass

Determine classification rules for crops used to prepare crops.obic
calc_cec

Calculate a soil fertility index based on the CEC
calc_copper_availability

Calculate the availability of the metal Cu
add_management

Estimate default values for management
calc_aggregatestability

Calculate aggregate stability index based on occupation CEC
calc_grass_age

Calculate the average age of the grass
calc_permeability

Calculate the permeability of the top soil
calc_man_ess

Calculate the 'performance' of sustainable soil management given a required ecosystem service
calc_management

Calculate the 'performance' of sustainable soil management
calc_magnesium_availability

Calculate the capacity of soils to supply Magnesium
calc_organic_carbon

Calculate amount of organic carbon
calc_makkink

Add Makkink correction factors and crop cover to crop rotation table
bouwsteen_tb

Table with water retention properties of 'bouwstenen'