Download and process land-use and agriculture emissions data from the FAOSTAT website

Daniel Busch 0e4f635df8 Added pre_post_agricultural_production vor 5 Monaten
.datalad bd86520a11 [DATALAD] new dataset vor 5 Monaten
.github 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
changelog 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
docs 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
downloaded_data 0e4f635df8 Added pre_post_agricultural_production vor 5 Monaten
scripts e3edb3f13e delete data script, unzip [skip ci] vor 5 Monaten
src e3edb3f13e delete data script, unzip [skip ci] vor 5 Monaten
stubs 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
tests 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
.copier-answers.yml 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
.gitattributes 7a86a67cf9 Instruct annex to add all CSV files to Annex vor 5 Monaten
.gitignore 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
.pre-commit-config.yaml 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
.readthedocs.yaml 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
LICENCE 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
Makefile 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
README.md 4dfc700825 [DATALAD] Recorded changes vor 5 Monaten
poetry.lock b2b6d72d56 basic script to download files [skip ci] vor 5 Monaten
pyproject.toml b2b6d72d56 basic script to download files [skip ci] vor 5 Monaten
requirements.txt b2b6d72d56 basic script to download files [skip ci] vor 5 Monaten

README.md

FAOSTAT data

Download and process FAOSTAT data

CI Coverage Docs

PyPI : PyPI PyPI install

Other info : Licence Last Commit Contributors

Full documentation can be found at: faostat-data-primap.readthedocs.io. We recommend reading the docs there because the internal documentation links don't render correctly on GitHub's viewer.

Installation

FAOSTAT data can be installed with pip, mamba or conda:

pip install faostat-data-primap
mamba install -c conda-forge faostat-data-primap
conda install -c conda-forge faostat-data-primap

For developers

For development, we rely on poetry for all our dependency management. To get started, you will need to make sure that poetry is installed (instructions here, we found that pipx and pip worked better to install on a Mac).

For all of work, we use our Makefile. You can read the instructions out and run the commands by hand if you wish, but we generally discourage this because it can be error prone. In order to create your environment, run make virtual-environment.

If there are any issues, the messages from the Makefile should guide you through. If not, please raise an issue in the issue tracker.

For the rest of our developer docs, please see [](development-reference).