Introduction
Correct interpretation of soil tests is required if soil acidity correction and fertilizer recommendations are to be successful. Crop yield depends on the nutrient balance which is related to the availability of nutrients and their interaction in the soil solution ( Wu and Ma, 2015 ).
New software and tools have been developed in Brazil and other parts of the world, demonstrating the need for more user-friendly, low-cost, and easily accessible information regarding management of soil fertility and plant nutrition. FertFacil was developed for the southern region of Brazil for the nutritional interpretation of maize, wheat, and soybean ( FertFacil, 2018 ). Fértil Agrowin is a software system used in the interpretation of plant and soil analysis ( Agrotis, 2003 ), while the FOS (Fertilizer Optimization System) can be used for fertilizer recommendations and the cost of fertilization ( Tieppo et al., 2010 ). These tools are not yet used as agents to promote the learning and teaching process for students on agronomy courses but will become more important in the coming years. Our approach allows students to improve their knowledge through the evaluation of many hypothetical scenarios and of how parameters may influence each other and the final scenario.
The main goal was to develop a user-friendly and open-source application through the Shiny package in the R software program. Our web-app comprises the following modules: physical and chemical soil test interpretation, different methods of liming and gypsum recommendation, NPK fertilizer recommendation, soil amendment scenario simulation, and statistical analysis tools for experiments in soil science.
Materials and Methods
Soil-app has sections divided by different subjects related to soil tests and soil fertility. The methods and models used in each section are described below:
Unit conversion
The International System of Units admits several derivations of the standards. Soil test interpretation and fertilizer recommendation require units to be standardized. Over the years, several changes in the units used have been adopted by professionals to make results easier to understand. Transformations used in the application were implemented based on chemical stoichiometry and information provided by Raij et al. (1997) and Ribeiro et al. (1999) .
Soil test interpretation
Interpretation of soil test results is crucial to an understanding of which soil nutrients are inadequate and how much should be applied to meet plant demand ( Cantarutti et al., 2007 ). The app allows for interpretation of soil chemical and physical test results, classifying the nutrient content as very low, low, medium, high, or very high, as well as physical characterization driven by clay content ( Raij et al., 1997 ).
Fertilizers
Fertilizer recommendation in Brazil is based upon regional studies of soil test calibration and response curves. Doses are defined according to soil nutrient content and expected yield ( Cantarutti et al., 2007 ). Soil-app offers alternative fertilizer recommendation since it approaches the specific need for each nutrient and promotes the use of raw material as well as fertilizer blends. Fertilizer recommendation can be formulated for crops such as grains (i.e., soybean, corn, beans), pastures, forage, and forest. The fertilizer recommendation function of Soil-app is based on data presented by Raij et al. (1997) and Ribeiro et al. (1999) . Soil-app can be optimized in the future following the release of new bulletins or recommendation methods.
Organic fertilizers
The use of organic fertilizers is a useful technique for nutrient supply, promoting environmental gains with the potential to improve the sustainability of agricultural systems, especially in soils with low organic matter and nutrient contents ( Santos et al., 2008 ). However, the use of organic fertilizer is limited by a lack of knowledge, especially relating to dose calculation which is based on the nutrient content of the organic material and moisture content. The app presents an average nutrient content for common sources based on Raij et al. (1997) as well as a tool for converting values from dry weight concentration which comes from chemical analysis to the current wet weight, as per the equation below:
Liming
Acidic soils are common in both tropical and subtropical regions. Soil nutrient availability to plants depends on soil pH, which has an impact on fertilizer efficiency ( Behera and Shukla, 2015 ). Liming is the primary method used to raise soil pH and meet the demand for calcium and magnesium for plants ( Caires et al., 2011b ). The most widespread methods of liming adopted in Brazil are currently presented in Boletim 100 ( Raij et al., 1997 ) and 5ª Aproximação ( Ribeiro et al., 1999 ).
In Boletim 100 ( Raij et al., 1997 ), lime recommendation is based on increasing base saturation to target values dependent on crop demand. In the 5ª Aproximação ( Ribeiro et al., 1999 ), the recommendation method is based on increasing soil Ca and Mg content, as well as Al neutralization. The amount of lime recommended (QC) should be adjusted as regards tilling depth (PF), relative total neutralization power (PRNT), and application area (AS) as described in the equation below:
For example, if the necessity for liming is 2 t ha1, it will be applied over the total area (AS = 100 %) and tilled in the first 20 cm of soil depth (PF = 20 cm). If the limestone has PRNT equal to 95 %, then the recommended amount of limestone to be applied is QC = 2.105 t ha1.
Gypsum
Agricultural gypsum is used to reduce the toxic Al3 availability to plant roots in low-fertility soils, contributing to proper plant development and higher yields ( Caires et al., 2011a ). Many equations are available in Brazil to fix the recommended gypsum doses, based on soil subsurface (20-40 cm) chemical and physical characteristics. The gypsum recommendation (NG) has been reported by Raij et al. (1997) where the NG = clay content × 60, which considers the percentage of soil clay content (% clay). The equation is similar to that of Ribeiro et al. (1999) , which considers soil texture (X) in the equation NG = (0.00034 – 0.00244X0+ 0.0338886X – 0.00176366X1) × 1000. Also, it is possible to consider the Prem (remaining phosphorous) as in the equation
Another important method is the EMBRAPA recommendation wherein NG = clay content × 50 for annual crops and NG = clay content × 75 for perennial crops ( Sousa and Lobato, 2004 ). The most recent recommendation for gypsum application, developed by Caires and Guimarães (2018) , is based on the increase in calcium saturation at the effective cation exchange capacity (CECe) as in the following equation: NG = (0.6 × CECe – Ca content) × 640, where the Ca content is the amount of Ca in the subsoil (0.2-0.4 m soil depth). Coefficients were added to the equations to provide recommendations in kg ha1.
Broadcast P application
Tropical soils naturally present a low P content and high adsorption capacity of the clay fraction which reduces P availability (Novais and Smith, 1999). Non-cultivated soils usually present a very low P content. Increasing P content in the first year of agriculture, through broadcast application of P fertilizers, will promote better root growth, and increase yield potential and profitability in the first years of cultivation ( Sousa and Lobato, 2004 ). After increasing the P content to a target level, and thus improving yield potential, P fertilization with soluble fertilizers will be performed annually at the time of crop establishment. The app will support users in determining the P fertilizer rate according to soil P and clay content as described in Table 1 and the equation below ( Sousa et al., 2016 ). The advantage of the procedure is the use of the two main P extractants used in Brazil, resin and Mehlich 1.
Table 1 – Variables used to calculate the P fertilizer demand of the soil (adapted by Sousa et al., 2016 ).
Clay Content | Critical level of P | Fixation Capacity of the soil (FC) | ||
---|---|---|---|---|
|
|
|||
Mehlich | Resin | Mehlich | Resin | |
% | ------------ mg dm–3 ------------ | (kg P2O5 ha–1) (mg dm–3 P)–1 | ||
10-15 | 20 | 15 | 5 | 6 |
16-20 | 18 | 15 | 6 | 7 |
21-25 | 17 | 15 | 7 | 8 |
26-30 | 15 | 15 | 9 | 9 |
31-35 | 14 | 15 | 11 | 10 |
36-40 | 13 | 15 | 15 | 12 |
41-45 | 11 | 15 | 18 | 13 |
46-50 | 10 | 15 | 23 | 14 |
51-55 | 8 | 15 | 29 | 15 |
56-60 | 7 | 15 | 37 | 16 |
61-65 | 5 | 15 | 54 | 17 |
| ||||
66-70 | 4 | 15 | 70 | 19 |
Limit of nutrient content in fertilizers
There is a wide range of raw materials for fertilizer production, mainly concerning nutrient content and solubility ( Alcarde, 2007 ). Ensuring the physical, chemical, and physical-chemical quality of fertilizers is essential to proper plant development, mostly due to the narrow range between deficiency and toxicity of certain essential elements. The limits of tolerance for nutrient content in NPK fertilizers are defined by the Ministério da Agricultura, Pecuária e Abastecimento - MAPA, 2014 , (the Ministry of Agriculture, Livestock and Supply) whose legislation is responsible for disseminating the standards and methodologies used to control fertilizer nutrient quantity and quality. With Soil-app, the user can input the analytical result and evaluate if the nutrient content is within accepted regulatory limits.
Simulator
This section provides the opportunity to explore different scenarios before and after soil amendments or fertilizer application. With this innovation, the user can input soil test data, parameters, and product doses. The app provides two graphics with soil fertility analysis before and after input application. Furthermore, the app predicts P, K, Ca, and Mg soil content after application through equations used to estimate the increase in nutrient content according to Raij et al. (1997) . Calculations presented in this section are theoretical and do not consider losses or nutrient transformation in the soil-plant system. Despite this limitation of the app, simulating chemical changes in soil properties is a good exercise for teaching and consulting purposes.
Data analysis
The Soil-app allows for the running of different data analyses for soil scientists. Scripts in R were developed to make data analysis faster and handier. Those analyses are in the “Experimental Analysis” (“ Análises de Experimentos ”) section, and are divided into two tabs: “Experimental Designs” (“ Delineamentos Experimentais ”) and “Multivariate Analysis” (“ Análise Multivariada ”). Each tab has a help button with tutorials that explain data entry and output details. For statistical analysis where data input is required, there are examples of datasets available and the user can get extra information using the help button. The “Experimental Designs” (“ Delineamentos Experimentais ”) tab uses the “lm” and “aov” functions of R (version 3.4.4, 2018), allowing the user to calculate the analysis of the variance (ANOVA) table through a previously defined statistical model. Furthermore, the “Results” (“ Resultados ”) tab will enable the user to choose the method to fit the p -value, calculate Tukey’s test (mean comparison), and generate boxplot graphics at the level factors.
The Multivariate Analysis (“ Análise Multivariada ”) section is divided into three other tabs: the first is “Datasets” (“ Conjunto de Dados ”) to input user data. To access data input information, the user should click in the help box inside the tab; the second is the “Correlation” (“ Correlação ”) tab which uses the “cor()” function of R to estimate the Pearson correlation and “qgraph” (correlation network map) among the traits evaluated; and the third is the “Principal Components” (“ Componentes Principais ”) tab that allows the user to realize PCA (principal components analysis) and PCA bi-plot graphics based on the two most significant principal components from the user data uploaded.
Results and Discussion
Soil-app offers a wide variety of soil chemical and physical analysis, lime, gypsum, and fertilizer recommendations, nutrient tolerance content in NPK fertilizers, simulation of scenarios to improve soil fertility, and statistical approaches. The outputs are accessible to be interpreted by a direct and friendly web interface. Furthermore, Soil-app can be used to improve teaching and learning activities, as it does not require programming skills, allowing for fast and full adoption. Soil-app is available for network use through the link: http://www.genetica.esalq.usp.br/alogamas/R.html