Adjusted the interpolation of nitrogen leaching to surface and
groundwater recorded in table nleach_table
OBIC 4.2.1 2026-01-30
Added
Adds GitHub action to check the package on R-hub
Fixed
Fixes external link at obic_water_functions
OBIC 4.2.0 2025-12-18
Added
Function ind_gw_target() to modify I_H_GWR (renamed to I_E_GWR) with
a correction factor based on soiltype and groundwaterclass akin to the
groundwaterrecharge score from BBWPC.
Changed
Argument useClassicOBI is added to obi_field(), obi_field_dt(), and
obi_farm(). This argument defaults to TRUE, when TRUE, only agronomic
indicators are calculated and aggregated. When FALSE, water-related
indicators (groundwater recharge, pesticide leaching, and nitrogen use
efficiency in relation to groundwater and surface water) are included in
the environmental score and subsequently in the total score.
When useClassicOBI = FALSE, indicators for water quality and
quantity ( I_E_GW_NLEA, I_E_SW_NLEA, I_E_PEST, and I_E_GWR) are included
in the calculation of S_E_OBI_A.
B_DRAIN no longer has a default value and must be supplied when
useClassicOBI = FALSE
M_GREEN is set to TRUE for potato and maize on sandy soils by
add_management(). This means that M_GREEN is overwritten
for such cultivations when using one of the wrapper functions.
renamed I_H_NGW to I_E_GW_NLEA
renamed I_H_NSW to I_E_SW_NLEA
renamed I_H_PEST to I_E_PEST
renamed I_H_GWR to I_E_GWR
renamed I_E_NGW to I_E_GW_NRET, I_E_NGW is still part of the
obic_field() and obic_farm() outputs but its use is deprecated, switch
over to I_E_GW_NRET
renamed I_E_NSW to I_E_SW_NRET, I_E_NSW is still part of the
obic_field() and obic_farm() outputs but its use is deprecated, switch
over to I_E_SW_NRET
calc_psp() no longer changes makkink factors for
specific months in a rotation. Instead, makkink factors are adjusted
within a single year. For example, if in 2015 potato is grown followed
by a green manure and grassland in 2016, the makkink factors in 2015 for
months 1,2 3, 10, 11, and 12 are set to 0.6 (even tough the green manure
partially grows in 2016). One can now indicate in which months a green
manure is grown, default is from 10 up to and including 3. Lastly, the
makkink factor for green manure is only set to 0.6, and only when this
is higher than the non-green manure factor. The makkink factor for month
10 used to be 0.74
Introduced argument B_AREA_DROUGHT for obic_field() and
as possible column in obic_field_dt() and
obic_farm(). This argument is passed on to
ind_gw_recharge() which is only called when useClassicOBI
== FALSE. When B_AREA_DROUGHT is missing but required, it is assigned a
value in by obic_field() based on B_SOILTYPE_AGR and
B_AER_CBS whilst raising a warning.
Fixed
B_FERT_NORM_FR and B_DRAIN can now be supplied when using
obic_field_dt() or obic_farm(). The value is
set to 1 when not supplied.
OBIC 4.1.0 2025-08-04
Added
BRP crop codes for 2025: 7137, 7138, 7135, 7134
OBIC 4.0.0 2025-07-30
Changed
the format of groundwater class values (B_GWL_CLASS) that are
accepted by OBIC functions and recorded in OBIC tables. Acceptable input
values for B_GWL_CLASS are now: “I”, “Ia”, “Ic”, “II”, “IIa”, “IIb”,
“IIc”, “III”, “IIIa”, “IIIb”, “IV”, “IVc”, “IVu”, “sV”, “sVb”, “V”,
“Va”, “Vad”, “Vao”, “Vb”, “Vbd”, “Vbo”, “VI”, “VId”, “VII”, “VIId”,
“VIII”, “VIIId”, “VIIIo”, “VIIo”, “VIo”.
OBIC no longer supports B_GWL_CLASS value “-”. For fields with
groundwater class “-”, the user is advised to use expert judgment on
what the most suitable groundwater class is. Fields with “-” are
typically found in locations with very variable or very deep groundwater
levels such as flood plains or hills.
In the table nleach_table, column B_GT is renamed B_GWL_CLASS for
consistency. The values in this column have also been modified to no
longer have the prefix “Gt” to align with the rest of the package.
In the table waterstress.obic, column gt is renamed B_GWL_CLASS for
consistency. The values in this column have also been modified to no
longer have the prefix “Gt” to align with the rest of the package.
Added
The table waterstress.obic now supports more groundwaterclasses.
Classes such as IIIb are now included in waterstress.obic$B_GWL_CLASS.
The new classes with prefixes and suffixes have the same values as rows
with the same roman numeral. So, with the same cropname and soilunit,
III and IIIb have the same values for the different stresses.
function format_gwt(). OBIC now supports groundwater
classes with prefixes and suffixes. For fields with groundwater class
“-”, the user is advised to use expert judgment on what the most
suitable groundwater class is. Fields with “-” are typically found in
locations with very variable or very deep groundwater levels such as
flood plains or hills.
OBIC 3.0.4 2025-05-20
Fixed
Fixes missing nf_* values in crops.obic [OBI-31]
OBIC 3.0.3 2024-08-12
Added
Adds the new cultivations from 2024 [PL-33]
OBIC 3.0.2 2024-02-09
Fixed
Fixes error in validation of B_LU_BRP by enabling calculations with
brp codes of 2023 [OBI-28]
Fixes classification of grasland met/zonder herinzaai in
crops.obic
Changed
B_LU_WATERSTRESS_OBIC of 265 (grasland blijvend), 331,
and 3718 from ‘grasland met herinzaai’ to ‘grasland zonder herinzaai’ in
crops.obic
Removed
Removes urls to bodemconsult.nl due to invalid SSL certificate,
which is not accepted by CRAN
OBIC 3.0.1 2023-11-24
Fixed
Fixes calculation of N surplus used for I_H_NGW and I_H_NSW
OBIC 3.0.0 2023-10-16
Added
Add calc_permeability for calculating top soil
permeability
Add ind_permeability for calculating the index for top
soil permeability
Add variable leach_to to calc_n_efficiency
and ind_n_efficiency to calculate and evaluate leaching to
ground water and surface water
Add vignette obic_water_functions, describing the
functions that evaluates the effect of soil quality on groundwater
quality
Changed
Updated N use norms for onions
Update calc_nleach by soil and land use dependent default n supply,
issue #154
Update calculations in the functions
calc_pesticide_leaching,
ind_pesticide_leaching, calc_psp,
ind_psp,
ind_gw_recharge,calc_n_efficiency and
ind_n_efficiency
Add soil type and land use dependent NLV estimate in
calc_nleach
In the input for ind_gw_recharge the variables
B_LU_BRP, D_WRI_K, and
B_GWL_CLASS are added, and D_WRI_WHC is
removed
In calc_n_efficiency, D_NLV is removed
from the input variables
Fixed
Fixes plotting of regime curve in workability vignette #149
Extremely high EOS values for some cultivations fixing #162 &
#134
Updated bibliography of packages in vignettes
N use norm for 1935 (maiskolfsilage)
N use norms of 1926 and 1927 (agrarisch natuurmengsel and overige
akkerbouwgewassen), increased to match “Akkerbouwgewassen, overig” (RVO,
2022)
OBIC 2.2.1 2023-10-16
Added
CITATION file and additional author data in the package
DESCRIPTION
OBIC 2.2.0 2023-08-29
Added
Adds function obic_recommendations_bkp for determining
management recommendations to improve soil quality
OBIC 2.1.3 2023-08-29
Fixed
Fixes error in formatting of B_AER_CBS for LG01 and LG02 in
format_aer [OBI-20]
OBIC 2.1.2 2023-03-28
Fixed
Added missing values in nf_ columns in
crops.obic
OBIC 2.1.1 2023-03-21
Fixed
Update crops.obic for missing b_lu_brp
codes
OBIC 2.1.0 2023-03-03
Added
add obic_farm to assess soil quality on farm level
(plus unit tests), #OBI-8
total farm score farm_obi_score as output reflecting
the percentage of fields in the highest class for the OBI score,
#OBI-8
Changed
output handling in obic_field is updated to have more flexibility
and avoid undesired calculations
OBIC 2.0.5 2023-02-17
Fixed
Fixes to generate clearer error message when incorrect B_LU_BRP is
supplied.
OBIC 2.0.4 2023-01-11
Fixed
Fixes calculation of field capacity at
calc_waterretention
OBIC 2.0.3 2023-01-11
Fixed
Fixes plotting of regime curve in workabilty vignette #149
OBIC 2.0.2 2023-01-11
Changed
Update the GitHub Actions to the most recent version
Update RoxygenNote to v7.2.3
OBIC 2.0.1 2022-03-26
Changed
The function ind_sulpher is renamed to
ind_sulfur in documentation
Added
all functions are extended with examples and
return
Changed
standardize output variables of pedotransfer parameters Wosten
Fixed
Fixes many spelling errors in the documentation
Set title in decription to title case
Fix links to external websites
Fix duplicated indicator in recom.obic (in dev/ppr_maatregel.r),
issue #164
Fix setorder after merge in calc_n_effieciency
Fix setorder after merge in calc_som_balance
Removed
Removes /docs as the documentation website is now
automatically generated by GitHub Actions
Deprecated
The function ind_sulpher is deprecated due to
renaming
OBIC 2.0.0 2022-01-11
Added
Add ppr_bouwplan_tables.R in dev/scripts
Add merge_nema_tables.R in dev/scripts
Add ppr_crops_crumbleability.R in dev/scripts
Add arguments B_GWL_GHG, B_GWL_GLG and
B_Z_TWO to obic_field and
obic_field_dt
Activate calc_workability
Add calc_makkink to add makkink factors to crop
table
Add calc_psp to estimate precipitation surplus
Add ind_nematodes and ind_nematodes_list
to estimate the index for nematode risks
Add ind_gw_recharge to estimate the groundwater
recharge index
Add calc_n_efficiency and ind_n_efficiency
to estimate N efficiency
Add calc_pesticide_leaching and
ind_pesticide_leaching to evaluate retention of pesticides
in topsoil
Add check to ppr_weight_obic to check if all indicators
in weight.obic occur in
column_descriptions_obic
Add vignette obic_workability, describing how
workability is calculated and affected by its input variables
Add vignette obic_introduction as a short tutorial
describing the OBIC principles
Add vignette obic_score_aggregation to illustrate the
aggregation principles used
Add table weather.obic with monthly mean precipitation,
temperature and evaporation
Add table crops.makkink with mean Makkink factors per
crop type
Add table nema.crop.rot.obic added with crop
sensitivity for nematodes
Add table nema.obic with threshold values per
species
Add GitHub Action to run R-CMD-Check for changes on
master and development
Add coverage of unit tests
Changed
Update documentation for workability
Update weight.obic for workability
Update column_descriptions_obic.Rdata
Update documentation for nematodes
Update calc_workability
Rename B_Z_TWO to B_GWL_ZCRIT
Improve function description of ind_workability
Increase required days post GLG for maize on sand or loess to match
October 1
Increase required days post GLG for maize on other soils to match
October 20
season.obic can now be merged on both landuse and
soiltype
Update binnenveld with BodemSchat data (via OBIC-helpers)
obic_field can be used for multiple fields with
field-ID
Removed
Removes A_COM_FR and A_CACO3_IF from input
as they were not used #145
Fixed
Error in grass_age: age was incorrectly estimated for
multiple fields
Removed negative values from season.obic
Ensured total_days >= req_days_pre_glg + req_days_post_glg in
season.obic
Root depth was incorrectly assigned for maize and nature
Fix the format of NEWS.md so that it is shown on the
package website
Remove the prefixes and suffixed of B_GWL_CLASS
OBIC 1.0.4 2021-09-27
Added
Check on column names in obic_field_dt
tests on obic_field_dt
Fixed
Fixed check on required column names in obic_field_dt
OBIC 1.0.3 2021-09-16
Added
Adds unit test for obic_field
Fixed
Fixes ascii signs issues
OBIC 1.0.2 2021-05-20
Added
ind_man_ess.R and tests are added for update aggregated management
scores, issue #131
Changed
obic_field() makes use of ind_man_ess
Fixed
check B_GWL_CLASS in calc_waterstressindex(), issue #129
OBIC 1.0.1 2021-05-05
Added
management.obic table added to link management measures to ecosystem
services
calc_man_ess.R and tests are added to estimate grouped impact of
management on ecosystem servcices, issue #125
Changed
I_M_* and I_*_BCS indicators for management measures and BCS are
removed, issue #126
values -999 are replaced by NA
column_descriptions_obic.Rdata is updated
weight.obic is updated
OBIC 1.0.0 2021-04-28
Added
column crops_season to crops.obic
column scientific_names to crops.obic
preparation crops.obic in dev
function format_gwt to reformat input for groundwater table
function format_soilcompaction to reformat input for subsoil
compaction
season.obic added as data.table
new function and tests for workability indicator
nema.obic added as data.table
new function and tests for nematode indicator
preparation nema.obic in dev
preparation season.obic in dev
obic_field is added to run obic score for one field
ppr_column_description plus column_descriptions_obic.Rdata
ppr_maatregel plus recom_obic.Rdata
ppr_weights plus weights.obic
I_P_DS and I_P_WS added (drought and wetness stress separately)
add_management added to estimate default values for measures when
not given
set of eight I_M_XX indicators for measures are added
set of nine I_X_BCS indicators are added (optional)