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

Daniel Busch 854a0e1a43 clean up 1 month ago
.datalad bd86520a11 [DATALAD] new dataset 2 months ago
.github 9fd30878f9 mypy: request stubs, Path 1 month ago
changelog 4ba7f59e4a changelog 1 month ago
docs 4dfc700825 [DATALAD] Recorded changes 2 months ago
downloaded_data 854a0e1a43 clean up 1 month ago
extracted_data 854a0e1a43 clean up 1 month ago
scripts 8ae9ca118d clean up, refactor 1 month ago
src 854a0e1a43 clean up 1 month ago
stubs 4dfc700825 [DATALAD] Recorded changes 2 months ago
tests 854a0e1a43 clean up 1 month ago
.copier-answers.yml 4dfc700825 [DATALAD] Recorded changes 2 months ago
.gitattributes 78d595a0a8 git attributes to include zip files 2 months ago
.gitignore 4dfc700825 [DATALAD] Recorded changes 2 months ago
.pre-commit-config.yaml 72589ed42b pre commit 1 month ago
.readthedocs.yaml 4dfc700825 [DATALAD] Recorded changes 2 months ago
LICENCE 4dfc700825 [DATALAD] Recorded changes 2 months ago
Makefile 8ae9ca118d clean up, refactor 1 month ago
README.md 4dfc700825 [DATALAD] Recorded changes 2 months ago
poetry.lock 340152f497 integration test for read script 1 month ago
pyproject.toml 340152f497 integration test for read script 1 month ago
requirements.txt 340152f497 integration test for read script 1 month ago

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).