A single human cannot consider every possible variable when predicting the best solution or decision, but a computer can. We believe that there is a better, data-driven approach to agricultural business models that results in successful farms, reduced waste and a better market for farmers and consumers (ie: everyone).

If the market price of a fish increases, the fisherman will aim to get as much fish as possible, even though it results in overfishing. All fishermen would be better off taking less fish as a whole to allow the species to repopulate, giving more profits for everyone the next year. However, this is not the case in real life. Economist Charles Wheelan (author of "Naked Economics") described the fishing industry this way, and journalist Michael Pollan (author of "The Omnivore's Dilemma") painted a similar picture with the agricultural industry. There is an epidemic of overproduction for crops like corn, leading to selling prices below the cost of production and soil depleted of nutrients.

Providing farmers with simple, intuitive analytics suites and visualizations can aid in the process of planning crops while exposing potentially hidden variables based on market prices, resources, environmental impact, and soil health. This could potentially reduce chemical waste, water usage, and prices on produce, which affects the nutrition and health of all people.

What it does

Zoom anywhere on the map in satellite mode until you can see outlines of fields. Click on which crop distribution you would like to see for that view, and the map will be drawn! Each distribution considers profit and resources used, but they are biased towards different factors like water, chemicals, or diversification. The icons correspond to one of twelve sample crops (alfalfa, barley, corn, canola, grass, soy, millet, lentils, edible beans, navy beans, mustard and flax); some farms would have fewer options (eg: corn and soy only) while others may have more.

How we built it

Data Gathering and Cleaning Our two core datasets came from John Deere's API for field operations and measurements and Climate's API for field GeoJSON data. The John Deere dataset was used to calculate the average water used per unit area per crop, the average amount of chemical used per unit area per crop, and the average yield loss given the initial seed count. Some variables were estimated based on data from the University of Iowa, like the average yield in bushels per 100,000 soybean seeds and other conversion factors. For crop types that lacked statistically significant data, we generated some random points within a reasonable tolerance to fill the gaps for the sake of a more robust visualization. The GeoJSON data was already formatted for the Google Maps API and ready to go.

Data Analytics We then constructed a cost-utility mapping algorithm where each crop was assigned to a field. While we aren't agricultural scientists, we made reasonable guesses when constructing our cost function: having higher than expected yields on average gives a negative cost (ie: positive utility) and requiring more chemicals or more water gives a positive cost. These utilities decay (and the costs increase) as more of the same crop type is assigned to a field. This decay can be turned off since many farmers may grow one type at a time; however, it is important for those who want to consider diversification, and second, for the sake of demonstration, it shows how the algorithm groups crops in contiguous regions. With even more, accurate data on market prices and specific field measurements, the algorithm could be even more detailed and precise with its recommendations.

Data Visualization Using a Flask framework and our algorithm powering the back-end, we created the web application with the Google Maps API as a tool to draw the CLU (common land units) dataset from Climate from nearly any map view in the United States. The interface is simple, clutter-free, and easy to use.

The Big Picture/Impact

There is power in data analytics and design in the agricultural industry. Optimizing costs and waste makes the environment cleaner and more sustainable, while allowing farmers to thrive, and consumers to have access to cheaper, higher quality, and healthier food.

Share this project: