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

Daniel Busch 2ce9302a44 Makefile 5 месяцев назад
.datalad bd86520a11 [DATALAD] new dataset 5 месяцев назад
.github 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
changelog 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
docs 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
downloaded_data 4f64464823 [DATALAD RUNCMD] poetry run python3 src/faostat_data_prim... 5 месяцев назад
scripts 8c00042235 remove zip files from github 5 месяцев назад
src 2b893048da scrape last updated tag from domain website 5 месяцев назад
stubs 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
tests 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
.copier-answers.yml 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
.gitattributes 78d595a0a8 git attributes to include zip files 5 месяцев назад
.gitignore 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
.pre-commit-config.yaml 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
.readthedocs.yaml 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
LICENCE 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
Makefile 2ce9302a44 Makefile 5 месяцев назад
README.md 4dfc700825 [DATALAD] Recorded changes 5 месяцев назад
poetry.lock 2b893048da scrape last updated tag from domain website 5 месяцев назад
pyproject.toml 2b893048da scrape last updated tag from domain website 5 месяцев назад
requirements.txt 2b893048da scrape last updated tag from domain website 5 месяцев назад

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