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

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

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