Examples
AgriFoodPy implements models and table manipulation methods to analyse and process agrifood data. In these examples we demonstrate the use of some of these methods and models using python scripts, or a console script.
Command line tool
agrifoodpy is a command line script that runs a pipeline of functions
defined in a config file.
$ agrifoodpy examples/cli/scaling_food_supply.yml -o results.json
For more information on how to configure a pipeline using configuration files
and execute them using the agrifoodpy command line tool, see
Command line tool.
Modules
Basic module accesor usage
Plot emissions from different item groups and years
Plot emissions from different item groups and years
Pipeline
Basic pipeline examples