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("nmi-agro/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.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Sven Verweij

Last Published

February 11th, 2026

Functions in OBIC (4.2.3)

calc_root_depth

Determine the root depth of the soil for this crop
calc_man_ess

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

Calculates the fraction in the crop rotation
format_aer

Convert possible B_AER_CBS values to standardized values
format_soilcompaction

Convert possible B_SC_WENR values to standardized values
calc_sealing_risk

Calculate soil sealing risk
calc_sombalance

Calculate simple organic matter balance
ind_bcs

Calculate the indicator for BodemConditieScore
calc_sbal_arable

Calculate the indicator for delta S-balance arable
calc_slv

Calculate the SLV
ind_aggregatestability

Calculate the indicator aggregate stability
calc_workability

Calculate indicator for workability
crops.obic

Linking table between crops and different functions in OBIC
ind_magnesium

Calculate the indicator for Magnesium
ind_man_ess

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

Calculate indicator for wind erodibility
calc_ph_delta

Calculate the difference between pH and optimum
calc_pesticide_leaching

Calculate risk of pesticide leaching
calc_waterretention

Calculate indicators for water retention in topsoil
eval.crumbleability

Coefficient table for evaluating crumbleability
ind_management

Calculate the indicator for sustainable management
calc_phosphate_availability

Calculate the phosphate availability (PBI)
ind_waterstressindex

Calculate the Water Stress Index
ind_n_efficiency

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

Calculate indicator for wind erodibility
column_description.obic

Column description for the OBIC
calc_pmn

Calculate the index for the microbial biological activity
management.obic

Relational table linking soil management measures to ecosystem services
ind_nematodes

Calculate indicator for plant parasitic nematodes
ind_nematodes_list

Calculate indicator for plant parasitic nematodes
ind_gw_recharge

Calculate groundwater recharge of a soil
ind_ph

Calculate the indicator for pH
ind_pesticide_leaching

Calculate an indicator score for pesticide leaching
ind_permeability

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

Calculate the indicator for the the phosphate availability
ind_gw_target

Modify a groundwater recharge indicator with a target
crops.makkink

Makkink correction factor table
nema.crop.rot.obic

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

Calculate the availability of the metal Zinc
calc_potassium_availability

Calculate the K availability
calc_psp

Calculate the precipitation surplus
nema.obic

Nematode table
nleach_table

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

Calculate the indicator for SLV (deprecated)
cf_ind_importance

Helper function to weight and correct the risk and scores
ind_psp

Calculate indicator for precipitation surplus
ind_waterretention

Calculate indicator for Water Retention index
recom.obic

Applicability range of measures, including literature based estimates, of effects on soil indicators
obic_evalmeasure

Evaluate effects of measures
obic_farm

Calculate the Open Bodem Index score for a series of fields belonging to a farm
evaluate_logistic

Evaluate using the general logistic function
ind_potassium

Calculate the indicator for Potassium Availability
ind_copper

Calculate the indicator for Cu-availability
ind_crumbleability

Calculate the indicator for crumbleability
evaluate_parabolic

Evaluate using parabolic function with
ind_pmn

Calculate the indicator for microbial biological activity
season.obic

Desired growing season period for maximum yield
ind_resistance

Calculate indicator for soil resistance
ind_workability

Calculate indicator for workability
soils.obic

Linking table between soils and different functions in OBIC
calc_waterstressindex

Calculate the Water Stress Index
recom.obic_bkp

Effects of measures on soil indicators
obic_field

Calculate the Open Bodem Index score for one field
ind_cec

Calculate the indicator for soil fertility given the CEC
ind_zinc

Calculate the indicator for Zn-availability
weight.obic

Weight of indicators to calculate integrated scores
weather.obic

Weather table
ind_compaction

Calculate indicator for subsoil compaction
ind_nitrogen

Calculate the indicator for NLV
ind_sealing

Calculate the soil sealing indicator
ind_nretention

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

Estimate water retention curve parameters based on Wosten 1999
obic_recommendations_bkp

Recommend measurements for better soil management
obic_recommendations

Recommend measurements for better soil management
ind_sulfur

Calculate the indicator for SLV
obic_field_dt

Calculate the Open Bodem Index score for a data table
pFpara_ptf_Wosten2001

Estimate water retention curve parameters based on Wosten 2001
tbl.ph.delta

Table with optimal pH for different crop plans
pFpara_class

Parameter estimation based on class of Staringreeks (Tabel 3, Wosten 2001)
pF_curve

Water retention curve
waterstress.obic

Linking table between crops, soils, groundwater tables and water induced stresses in OBIC
calc_bulk_density

Calculate the bulk density
calc_bcs

Calculate the BodemConditieScore
bouwsteen_tb

Table with water retention properties of 'bouwstenen'
calc_cec

Calculate a soil fertility index based on the CEC
calc_cropclass

Determine classification rules for crops used to prepare crops.obic
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_crumbleability

Calculate the crumbleability
calc_magnesium_availability

Calculate the capacity of soils to supply Magnesium
calc_grass_age

Calculate the average age of the grass
calc_management

Calculate the 'performance' of sustainable soil management
calc_n_efficiency

Calculate nitrogen use efficiency and leaching based on N surplus
calc_nlv

Calculate the NLV
calc_nleach

Calculate the N leaching
binnenveld

Example dataset for use in OBIC package
calc_makkink

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

Calculate the permeability of the top soil
calc_organic_carbon

Calculate amount of organic carbon