← Back to projects

AgroView: Argentine agri data in one place

Can the prices and data that farmers check every day, scattered across different sources, be brought together in one place?

Data Engineering · BI · Agriculture

Problem

The prices and data farmers watch are spread across many sources: futures markets, public agencies, local price boards. Some offer an API, others only a web page.

Approach

I built it in four layers. Data: APIs (A3 Mercados, CBOT via Yahoo Finance, BCRA, DolarAPI, Open-Meteo) and scrapers for sources without an API (MAGyP, Mercado Agroganadero), scheduled with GitHub Actions. Every day adds a point to the historical series, with 5 years of FOB history preloaded. Quality: if a source fails, the last valid value is kept and the error is logged; there are backup runs and an audit of the numbers before they are published. Analysis: I chose which indicators are useful to a farmer and added calculated ones, such as basis (local price versus Chicago), theoretical FAS, and the input/output price ratio. Product: a Next.js frontend designed to be read quickly, deployed on Vercel with usage metrics.

Result

It's in production and updates itself. I've shared it with farmers, agronomists, and people in the sector, and their suggestions shape what I add next.

What I learned

Getting the data is half the work. Every source brings its own problems: IP blocks, tables that come back empty, values that don't add up. Designing so that one failure doesn't break what's published, and auditing the numbers, mattered as much as integrating them: that's how I found and fixed an error in the theoretical FAS calculation.

Tools

Next.js · TypeScript · Tailwind · GitHub Actions · Vercel · APIs REST · Web scraping

Links

Got a process that could work better?

agustinmusanti@gmail.com