Add GreenCalculus to Measurement - #104
Open
jeremiahsay wants to merge 1 commit into
Open
Conversation
Python and JavaScript clients for sourced greenhouse-gas emission factors, where every value carries the source cell, publisher citation and data version it was read at.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding GreenCalculus to Measurement — one line, no other changes.
What it is
Python and JavaScript clients for greenhouse-gas emission factors published by DEFRA, the US EPA, ADEME, the IPCC and others.
The thing that makes it worth listing here is provenance rather than coverage. Every value comes back with the exact cell in the publisher's workbook it was read from, the publisher's own citation string, and the data version it was read at. The problem it addresses is the one where a carbon figure in a codebase traces back to a blog post rather than a primary document, and nobody can reconstruct it six months later. A calculation can also be pinned to a data version, so the same inputs reproduce the same number a year on — which matters when a figure ends up in a disclosure.
The corpus is readable without an API key, so the quickstart in the README runs with nothing to sign up for.
Why Measurement
It sits next to CO2.js and
region-carbon-info: emission factors are the input every measurement tool needs, and this supplies them with their sources attached rather than estimating energy use directly.Checks against CONTRIBUTING
pip install greencalculus/npm i greencalculus, plus a Google Workspace Marketplace add-on for people who work in spreadsheets.[Name](URL): description, appended to the end of Measurement so the diff is a single line.Disclosure: I maintain this project. Happy to shorten the entry, move it to another category, or drop it if it isn't a fit for the directory.