National historical greenhouse gas emissions for every country and Kyoto gas from 1750, combining country reported inventories with third party data to fill the gaps.
This repository is a feedstock containing code that turns upstream data into books on the bookshelf.
The two key files for a bookshelf feedstock are:
bookshelf.yamlis the recipe declaring the metadata, versions and required versions.build.pyis the script to process a given version of a dataset into data ready for the bookshelf.
Install the local virtual environment:
make virtual-environmentThen build one version of the dataset:
make run VERSION=v2.7VERSION picks one entry from books: in the recipe.
The result lands in bundle/v2.7 and is then validated.
This does not upload the result, but can be inspected locally.
Each pull request builds a preview for each version declared in bookshelf.yaml.
A URL to review the diff between the published versions and the built version are commented to the pull request.
Merging publishes that preview to the bookshelf.
If the recipe names a bookshelf:// input that only the organisation can read,
CI resolves it with the workflow's own GitHub Actions token rather than a stored secret.
That needs the Bookshelf GitHub App installed on this repository,
otherwise the build works locally but every record job fails in CI.
Everything else about this feedstock lives in the README of copier-bookshelf-dataset.