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

crdanielbusch 5804780ec7 Merge branch 'fix-broken-files' of crdanielbusch/FAOSTAT_data_primap into download-dataset 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 aba11e7612 [DATALAD RUNCMD] poetry run python3 scripts/download_all_... 1 月之前
scripts 4ba7f59e4a changelog 1 月之前
src 6fe3d3922d licences, mypy 1 月之前
stubs 4dfc700825 [DATALAD] Recorded changes 2 月之前
tests 1145a23eee rename 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 ef4ced3c58 [DATALAD] Recorded changes 1 月之前
README.md 4dfc700825 [DATALAD] Recorded changes 2 月之前
poetry.lock aed1cc436b poetry lock 1 月之前
pyproject.toml aed1cc436b poetry lock 1 月之前
requirements.txt aed1cc436b poetry lock 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).