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

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

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