Skip to contents

euosi 0.10.0 2025-12-12

Added

  • IACS crop codes for all EU countries in osi_crops, copied from DE
  • P-Olsen to P-Morgen conversion in osi_conv_phosphor
  • P-Morgan assessment for Ireland as default in osi_c_phosphor_ie
  • argument B_TEXTURE_HYPRES in P assessment for osi_c_phosphor_it

Changed

  • removed region specific P assessment for France in osi_c_phosphor_fr
  • crop specific P assessment for Italy in osi_c_phopsphor_it
  • all B_LU checks for osi_c_phosphor functions
  • updated all evaluate functions for P with improved lowest threshold values
  • explicit P evaluation functions for osi_c_phosphor_fi in units mg P per liter

euosi 0.9.0 2025-08-21

Added

  • argument pwarning to all wrapper functions to replace error (stop) messages for input checks with warnings
  • RUSL parameter definitions and ranges to osi_parms
  • set max values on predicted soil element contents in osi_conv_ph,’osi_conv_potassium,osi_conv_phosphorandosi_conv_magnesium`
  • osi_c_ph_eu to assess soil pH when no country specific guidelines are present (not yet implemented in wrapper)
  • set land uses with nature to NA for osi_c_phosphor and add correct filters for crop_cat1
  • add new crop_cat1 options to osi_pmn

Changed

  • min and max values in osi_parms for LUCAS properties given observations in 2018-2021
  • update osi_parms, and osi_vars_inputwith updated parameter options

Fixed

  • missing setorder id in various osi_nut_k, osi_nut_p, osi_c_p and osi_c_k functions
  • incorrect crop_cat1 options in dt.treshold for osi_carbon
  • incorrect texture code for GEPPA (SaI should be Sal) and options B_SOILTYPE_AGR
  • incorrect USDA classification options in osi_gw_nleach
  • incorrect texture options in dt.threshold for osi_potassium_be
  • missing options in osi_thresholds for i_c_k in France, and i_c_oc in Europe

euosi 0.8.0 2025-08-19

Added

  • possibility to switch off unit checks when wrapper functions are used
  • add B_RUSL_RE, B_RUSL_SE, B_RUSL_LS, and B_RUSL_CM as input arguments for osi_erosion, osi_field and osi_field_dt
  • vignette eu_osi_for_acidity with an introduction to soil acidity evaluation

Changed

  • set all indicator values to NA when crop_cat1 equals to nature, forest or other land uses.

euosi 0.7.0 2025-08-17

Added

  • Portugal (PT) functions in osi_c_phosphor_pt, and osi_nut_p, and update vignette
  • Portugal (PT) functions in osi_c_potassium_pt and osi_nut_k, and update vignette
  • Portugal functions in osi_c_magnesium_pt, osi_c_copper_pt,osi_c_zinc_pt,and osi_c_ph_pt, and osi_c_boron_pt
  • Greece (EL) functions for phospor in osi_c_phosphor_el and osi_nut_p, and update vignette
  • Greece (EL) functions for potassium in osi_c_potassium_el and osi_nut_k, and update vignette
  • Greece (EL) functions for soil acidity in osi_c_ph_el
  • osi_c_magnesium_be and osi_c_magnesium_no
  • vignette eu_osi_for_magnesium with an introduction to potassium

euosi 0.6.0 2025-08-17

Added

  • all indicators for Portugal (PT): phosphor, potassium, magnesium, ph, zinc and boron
  • unit checks and argument checks for osi_c_boron
  • unit checks for osi_c_potassium and osi_nut_k
  • element A_ZN_AAA to osi_parms
  • add phosphorus and potassium examples to vignettes eu_osi_for_potassium and eu_osi_for_phosphor

Fixed

  • osi_c_ph_fr updated hard coded sugar beet filter
  • osi_c_potassium_nl had filter on peat rather than on veen
  • osi_nut_k_fr for wrong filter on soil k classes

euosi 0.5.0 2025-08-15

Added

  • unit tests except for osi_nut_k
  • osi_checkvar for input argument checking
  • checks on input arguments in all euosi functions
  • osi_conv_zinc to estimate extractable Zn content from total Zn content
  • A_ZN_RT as input variable added for osi_field and osi_c_zinc functions.
  • osi_conv_magnesium, osi_conv_phosphor and osi_conv_potassium includes cutoff to avoid that values go below the minimum as defined in osi_parms
  • osi_get_SOILTYPE_AGR to get the agricultural soil type (classes in dutch)
  • crop_p, crop_k and crop_n properties to the new IACS cropping table
  • vignettes eu_osi_for_nitrogen,eu_osi_for_phosphor and eu_osi_for_potassium updated given IACS crops

Changed

  • all functions for country AT, CZ, IT, SE and SK are now using IACS crops from IACS crop table
  • osi_c_zinc_de and osi_c_boron_de updated for new IACS crops
  • osi_farm updated with acceptable ranges in soil properties

Fixed

  • osi_p_crumbleability for forgotten setorder after merge
  • osi_p_crumbleability add fixed crumbleability factor for crops missing that information
  • osi_c_magnesium_ee and osi_c_magnesium_hu for wrong filter on B_TEXTURE_USDA name rather than code
  • osi_c_magnesium_nl needed updated crop_cat1 due to IACS cropping codes
  • osi_c_ph_de was referring to a intermediate table and not final result

euosi 0.4.0 2025-08-12

Added

  • vignette eu_osi_for_potassium with an introduction to potassium
  • vignette eu_osi_for_nitrogen with an introduction to nitrogen
  • dev/osi_crops_iacs.csv, a crop table csv with standardized crop_codes across EU osi_crops, from #euosi-1

Changed

  • osi_b_pmn_nl has now BoBi correction resulting in more variation due to texture
  • thresholds for evaluation soil N supply for osi_c_nitrogen_de and osi_c_nitrogen_eu
  • rename existing crop table csv to dev/osi_crops_countrycode.csv, from #euosi-1
  • update osi_crops package table to include all IACS crop codes, from #euosi-1
  • set minimum boundary values for A_P_AL and A_P_WA in osi_convmethods

Fixed

  • osi_c_potassium_de for wrong P soil test in German evaluation of K supply
  • osi_c_potassium_lv for wrong USDA soil classification for sand
  • osi_c_potassium_nl for wrong reference to internal dt.maize subset
  • osi_c_potassium_uk uses temporary crop name fix
  • osi_b_pmn_nl, osi_c_nitrogen_nl,osi_c_phosphor_nl, osi_c_potassium_nl,osi_nut_p_nl,osi_c_ph_nl and osi_nut_k_nl for mismatch b_lu versus b_lu_brp type due to IACS crop coding
  • osi_c_nitrogen_nl,osi_c_phosphor_nl and osi_c_potassium_nl,osi_nut_p_nl,osi_c_ph_nl and osi_nut_k_nl for newly added crop_cat1 options
  • osi_c_boron, osi_c_zinc adn osi_c_magnesium_de for wrong silt calculation
  • osi_c_phosphor for missing clay input for osi_c_phosphor_de
  • osi_c_potassium_fr for missing elements subset check B_TEXTURE_GEPPA
  • osi_c_ph_de allowing crop merging with newly crop list

euosi 0.3.0 2025-08-11

Added

  • vignette eu_osi_introduction with a short introduction
  • vignette eu_osi_variables with a summary of required input and output variables used
  • vignette eu_osi_aggregation to illustrate the aggregation method of the soil health assessment
  • osi_field_dt to run osi_field with a data.table as input
  • osi_farm as package table to illustrate functionality of euosi
  • osi_vars_input and osi_vars_input as package tables, prepared in dev/osi_tables.R
  • osi_farm as package table with default inputs to illustrate functions of euosi

Changed

  • rename vignette on P to eu_osi_for_phosphor

Fixed

  • missing B_COUNTRY reference to K functions in osi_field

Removed

  • vignettes for B, Cu, Mg, N, pH, Zn and K given that these were more working documents than vignettes.

euosi 0.2.0 2025-08-08

Added

  • osi_plot_shi to plot the SHI score for one or more groups

Changed

  • vignette updated for osi_c_phosphor
  • P threshold values for P-CAL in osi_c_phosphor_de given VDLUFA update in 2020
  • update threshold values for Belgium and Finland

Fixed

  • small bug fixes in osi_c_phosphor_nl for unrealistic PBI values
  • add temporary fixes for missing land use code for IE, SE, and UK where P-index depends on land use

euosi 0.1.0 2025-05-27

Added

  • osi_c_nitrogen to assess soil N supply for countries BE, DE, FR, NL and EU
  • osi_c_p to assess soil P supply for countries AT, BE, CH, CZ, DE, DK, EE, ES, FI, FR, HU, IE, IT, LV, LT, NO, NL, PL, SE, SK, SL and UK
  • oci_c_k to assess soil K supply for all countries
  • oci_c_mg to assess soil Mg supply for all countries
  • osi_c_b to assess soil B supply for countries CH, DE, IE, FR, NL, SE and UK
  • osi_c_zn to assess Zn availability for countries DE, FR, IE, NL and UK
  • osi_nut_p and osi_nut_k to assess excess of P and K for all 22 countries
  • osi_carbon for soil carbon index, for application in EU, not country specific
  • osi_biodiversity for conditions favoring soil biodiversity, for application in EU, not country specific
  • osi_conv_phosphor, osi_conv_potassium and osi_conv_magnesium to convert LUCAS properties to extractable nutrient pools
  • osi_p_crumbleability for application in EU, not country specific
  • osi_p_wef to assess wind erosion risk, applicable for whole EU
  • osi_p_whc to assess water holding capacity, plant available water and permeability, applicable for whole EU
  • osi_density to evaluate impact of soil density on rootability, not country specific
  • osi_gw_nleach for countries Be, FR, FI and EU to assess nitrate leaching risk
  • osi_c_ph to assess soil pH for countries AT, BE, CH, DE, FR, FI, IE, NL, SE and UK
  • osi_b_pmn to assess potentially mineralizable N for NL and EU
  • osi_clim, an internal package table with climatic data per country
  • osi_erosion to estimate water erosion using RUSL approach, applicable for whole EU
  • get_TEXTURE_GEPPA to derive soil texture following French classification
  • get_TEXTURE_HYPRES to derive soil texture following HYPRES classification
  • get_TEXTURE_BE to derive soil texture following Belgium classification

Changed

  • osi_crops for countries BE, FI and FR
  • osi_thresholds for countries BE, FI and FR
  • get_TEXTURE_USDA allows names and codes to extract
  • osi_field to run EU OSI on LUCAS dataset

euosi 0.0.7 2024-01-09

Added

  • logistic curve plus gaussian decline after reaching high values in osi_evaluate_logistic_gaus_down
  • conversion methods to estimate soil pH from pH-water, pH-CaCl2 and pH-KCL
  • conversion methos to estimate B-hot water from B-CaCl2
  • conversion methods for SOM, SOC, SON and CN ratio
  • conversion method for Potentially Mineralizable Nitrogen

Changed

  • add possibility to lower score at high values in osi_evaluate_parabolic

euosi 0.0.6 2024-01-09

Added

  • osi_c_mg_fr, osi_c_mg_nl and osi_c_mg to assess the soil function to supply magnesium in France and the Netherlands
  • thresholds for magnesium in osi_thresholds for Mg soil assessment in France

euosi 0.0.5 2024-01-09

Changed

  • nitrogen supply in France has been corrected in osi_c_n_fr for length of growing season

euosi 0.0.4 2024-01-09

Added

  • osi_c_b_fr and osi_c_b to assess the soil function to supply boron in France
  • osi_c_cu_fr and osi_c_cu to assess the soil function to supply Copper in France
  • osi_c_ph_fr and osi_c_ph to assess the the pH in view of a desired target
  • three vignettes describing background information regarding these functions

Changed

  • parameters in osi_parms and osi_parameters.csv updated with new ones for pH, Cu and B for France

euosi 0.0.3 2024-01-09

Added

  • vignette for input and functions for OSI in France, description_osi_parameters_france
  • thresholds for Cu in osi_thresholds for Cu soil assessment in France

Changed

  • parameters in osi_parms and osi_parameters.csv updated with new ones for France

euosi 0.0.2 2024-01-09

Added

  • osi_c_nitrogen_fr to assess the soil function to supply N in France
  • osi_c_posphor_fr to assess the soil function to supply P in France
  • osi_c_potassium_fr to assess the soil function to supply K in France
  • osi_c_zinc_fr to assess the soil function to supply Zn in France
  • French soil types and regions in osi_soiltype
  • a series of vignettes describing the background for these functions
  • a series of unit tests

Changed

  • update package table osi_soiltype, osi_thresholds and osi_crops
  • update wrapper funcions osi_c_nitrogen, osi_c_phosphor, osi_c_potassium,and osi_c_zinc

euosi 0.0.1 2023-02-17

First version of euosi

Added

  • osi_c_nitrogen_nl to assess the soil function to supply N in the Netherlands
  • osi_c_posphor_nl to assess the soil function to supply P in the Netherlands
  • osi_c_potassium_nl to assess the soil function to supply K in the Netherlands
  • osi_c_zinc_nl to assess the soil function to supply Zn in the Netherlands
  • osi_b_pmn_nl and osi_b_pmn to assess the microbial activity of a soil
  • osi_p_whc to assess the capacity of soils to retain water
  • osi_p_wef to assess the risk for wind erodibility
  • osi_p_density to assess impact of soil density on soil functioning
  • helper functions osi_evaluate_logistic, osi_evaluate_parabolic and cf_ind_importance
  • wrapper function osi_c_nitrogen
  • wrapper function osi_c_phosphor
  • wrapper function osi_c_potassium
  • wrapper function osi_c_zinc
  • wrapper function osi_main