Skip to content

UW-Madison-DSI/ag_forecasting_app

Repository files navigation

R-CMD-check

Forecasting Model Tools: API and Dashboard

This open-source plant disease forecasting API and Dashboard enables proactive and data-driven decision-making in agriculture. By leveraging weather data, disease models, and historical disease spread patterns, the tool empowers farmers, agronomists, and plant pathologists to monitor and predict disease outbreaks with accuracy and timeliness. The insights provided help in taking preventive actions, potentially reducing the impact of diseases on crops.

Explore our Open Source Shiny App sourced From Wisconet stations weather information

Explore our interactive dashboard designed for real-time agricultural forecasting insights. Click the button below to get started:

Visit the Dashboard

Alt text

Explore our Open Source API

Method: GET Response: A JSON object containing the predicted probability and underlying variables.

API to our models in top of Wisconet and IBM:

  • Our API provides the prediction of a number of crop diseases based on historical data sourced from 1) Wisconet and 2) IBM-source. Our API is defided to retrieve the historical data and provide the forecasting risk estimates on such locations. LINK Endpoints

Usage

See example of how to do an api call on this tool in the materials section of the repository HERE

For Developers

To install

git clone https://github.com/UW-Madison-DSI/corn_disease_forecast_api.git
cd corn_disease_forecast_api

Project Structure

├── LICENSE
├── README.md                       <- The top-level README for developers using this project.
├── materials                     <- Examples of API calls and plug in with Wisconet
│   ├── call_wisconet                 <- Wisconet call example
│   ├── docs                          <- Documentation of the schema
│   ├── example                       <- Examples to call the API
├── app                           <- Shinny dashboard code.
│   ├── app.R                         <- app logic, ui and server
│   ├── server.R                      <- app logic, ui and server
│   ├── ui.R                          <- app logic, ui and server
│   ├── report_template.Rmd         <- markdown for pdf report
│   ├── www                         <- web styles and pages
│   ├── logos                       <- logos
│   ├── functions                   <- APP functions
│   │   ├── api_calls_logic.R         <- Logic to call the Wisconet Station weather data and call the forecasting models on the preparation of the inputs
│   │   ├── auxiliar_functions.R      <- List of stations currently active from Wisconet  
│   │   ├── instructions.R            <- List of stations currently active from Wisconet  
│   │   ├── punctual_estimates.R      <- TBD 
│   │   ├── test                            <- Code Testing modules
│   │   │   ├── testthat.R    

Plant disease models

Selected field crops and vegetable disease model outputs are provided. These models are subject to change. The calculations used to generate each model prediction can be viewed in the source code.

Soybean Crop Disease White mold (aka Sporecaster), probability of apothecial presence. More information: https://cropprotectionnetwork.org/news/smartphone-application-to-forecast-white-mold-in-soybean-now-available-to-growers

  • dry
  • irrigated 15-inch row spacing
  • irrigated 30-inch row spacing

Corn Crop Disease

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Mantainer: Maria Oros, [email protected]

About

ag_forecasting_app

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published