Skip to content
Snippets Groups Projects
user avatar
Pierre Dittgen authored
d279fb2c

FAO fetcher

Download and convert data from FAO.

Install

Use a virtual environment

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -f requirements-dev.txt

Download

Download is easy enough to be done with a bash script: download.sh

Convert

flags.csv contains OBS_STATUS flags. This file has been downloaded from http://www.fao.org/faostat/en/#definitions. At this time, no way to download this file programmatically in download.sh :-(