HOW TO Download Open Food Facts Data for Any Country Using Google Colab and Push It to GitHub
Open Food Facts has data on 4.6+ million food products worldwide. But if you only need data for one country, downloading the full 7.64 GB file (size at the time of writing) hosted on Hugging Face is overkill. Hugging Face acts as a CDN for large ML datasets — it not only stores the full Parquet file but also handles versioning, caching, and fast global downloads. This guide co-written with Meta AI shows you how to use Google Colab to filter the dataset for just one country, add direct product links, and save the result to a public GitHub repo. Takes < 30 minutes total based on your familiarity with these tools & file size. No software installs needed. What you’ll end up with: A CSV like india_products_18392.csv with 16 columns, including a URL for each product. The same steps work for France, Canada, USA, UK, or any other country in the database. What You Need Before Starting A Google account to use Colab A GitHub account + an empty public repo where the CSV will live A Gi...