UNFCCC DI API
Data access to the total greenhouse gas emissions by country reported to the United Nations Framework Convention on Climate Change (UNFCCC).
https://github.com/primap-community/unfccc_di_api
Category: Emissions
Sub Category: Emission Observation and Modeling
Keywords
climate-data unfccc
Keywords from Contributors
energy-system-model energy-system climate-change climate-policy accessor
Last synced: about 13 hours ago
JSON representation
Repository metadata
Python wrapper around the Flexible Query API of the UNFCCC.
- Host: GitHub
- URL: https://github.com/primap-community/unfccc_di_api
- Owner: primap-community
- License: other
- Created: 2021-01-22T09:02:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-12-16T08:36:53.000Z (10 days ago)
- Last Synced: 2025-12-20T16:42:33.191Z (5 days ago)
- Topics: climate-data, unfccc
- Language: Python
- Homepage: https://unfccc-di-api.readthedocs.io
- Size: 422 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 1
- Releases: 12
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
README.rst
=============
UNFCCC DI API
=============
.. image:: https://img.shields.io/pypi/v/unfccc_di_api.svg
:target: https://pypi.python.org/pypi/unfccc_di_api
:alt: PyPI release
.. image:: https://readthedocs.org/projects/unfccc-di-api/badge/?version=main
:target: https://unfccc-di-api.readthedocs.io/en/main/
:alt: Documentation
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4457483.svg
:target: https://doi.org/10.5281/zenodo.4457483
Python wrapper around the `Flexible Query API `_ of
the UNFCCC.
* Free software: Apache Software License 2.0
* Documentation: https://unfccc-di-api.readthedocs.io.
Warning
-------
Due to a recent change in the UNFCCC's API, the UNFCCCApiReader class is
**not functional** any more in standard environments. To continue to access the data,
you have two options:
1. Use the new ZenodoReader. It provides access using the `query` function like the
UNFCCCApiReader, but only supports querying for a full dataset with all data. It
relies on our `data package `_, which we
update regularly; however, the data is naturally not as recent as querying from
the API directly.
2. Run your functions in an environment which is not blocked by the UNFCCC DI API.
According to our tests, Azure virtual machines work, as well as github hosted
runners, with the exception of Mac OS runners.
Features
--------
* High-level API to query all information for a given party.
* Low-level API to selectively query information with the same resolution as in the
UNFCCC web query tool.
Citation
--------
If you use this library and want to cite it, please cite it as:
Mika Pflüger, Daniel Huppmann & Johannes Gütschow. (2024-01-08).
pik-primap/unfccc_di_api: Version 4.0.4.
Zenodo. https://doi.org/10.5281/zenodo.10471122
Data package
------------
If you just want all the data in CSV and parquet format (suitable for reading with
pandas), look at our `data package `_.
CI status and other links
-------------------------
.. image:: https://results.pre-commit.ci/badge/github/pik-primap/unfccc_di_api/main.svg
:target: https://results.pre-commit.ci/latest/github/pik-primap/unfccc_di_api/main
:alt: pre-commit.ci status
Owner metadata
- Name: PRIMAP
- Login: primap-community
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/114724539?v=4
- Repositories: 1
- Last ynced at: 2023-03-05T19:48:36.725Z
- Profile URL: https://github.com/primap-community
GitHub Events
Total
- Delete event: 31
- Issue comment event: 1
- Push event: 36
- Pull request event: 59
- Fork event: 1
- Create event: 32
Last Year
- Delete event: 28
- Issue comment event: 1
- Push event: 29
- Pull request event: 52
- Fork event: 1
- Create event: 27
Committers metadata
Last synced: about 22 hours ago
Total Commits: 300
Total Committers: 3
Avg Commits per committer: 100.0
Development Distribution Score (DDS): 0.47
Commits in past year: 45
Committers in past year: 2
Avg Commits per committer in past year: 22.5
Development Distribution Score (DDS) in past year: 0.022
| Name | Commits | |
|---|---|---|
| pre-commit-ci[bot] | 6****] | 159 |
| Mika Pflüger | m****r@p****e | 133 |
| Daniel Huppmann | dh@d****t | 8 |
Committer domains:
Issue and Pull Request metadata
Last synced: 3 days ago
Total issues: 2
Total pull requests: 77
Average time to close issues: 21 days
Average time to close pull requests: 3 days
Total issue authors: 2
Total pull request authors: 1
Average comments per issue: 4.5
Average comments per pull request: 0.0
Merged pull request: 58
Bot issues: 1
Bot pull requests: 77
Past year issues: 1
Past year pull requests: 70
Past year average time to close issues: N/A
Past year average time to close pull requests: 2 days
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 9.0
Past year average comments per pull request: 0.0
Past year merged pull request: 51
Past year bot issues: 0
Past year bot pull requests: 70
Top Issue Authors
- mark-sommer (1)
- pre-commit-ci[bot] (1)
Top Pull Request Authors
- pre-commit-ci[bot] (77)
Top Issue Labels
Top Pull Request Labels
Dependencies
- ipykernel *
- nbsphinx *
- actions/checkout v2 composite
- actions/setup-python v2 composite
- codecov/codecov-action v2 composite
Score: 3.295836866004329