climate-finance-package

Get, clean, and work with international public climate finance

https://github.com/onecampaign/climate-finance-package

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.4%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Get, clean, and work with international public climate finance

Basic Info
Statistics
  • Stars: 9
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 6
Created about 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

pypi python Code style: black

The climate finance package

climate-finance is the python package to get, clean, and work with international public climate finance.

You can use this package to get, rebuild, remix, and create using our tools and methodologies — all with only a few lines of code.

Climate finance data is notoriously difficult to work with. It's messy - really messy - and comes in all sorts of shapes and sizes, scattered across multiple websites.

It took us months to understand which climate finance data to use, and even longer to clean the data ready for the Climate Finance Files.

We don't think you should have to do this too.

We have built climate-finance to lower the barriers to access that many organisations face when seeking to conduct research or advocacy on these topics. For too long, bad data has restricted climate accoutability. And for too long, global leaders have capitalised on bad data to dictate the narrative on climate finance.

We hope these tools equip everyone with the data to hold global leaders accountable in the fight against climate change. As currently, they are not doing enough.

Getting started

This package provides a set of tools to help you work with climate finance data. It can be used to:

  • download data from the OECD databases (The Creditor Reporting System (CRS) and the Climate-related Development Finance database (CRDF))
  • download data from the UNFCCC data portal
  • clean and harmonise data from the different sources
  • convert climate finance data to different currencies and prices

Set up

The Climate Finance package is composed of many different tools to download, process and analyse data.

To get started, you will need to install the package. You can do this from pipy using pip:

```bash

pip install climate_finance --upgrade

```

or directly from the source code:

```bash

pip install git+https://github.com/ONEcampaign/climate-finance-package.git

```

Basic Usage

The first step when using the Climate Finance package should be to set a working directory where the data will be stored. This can be done importing using the set_climate_finance_data_path function:

```python from climatefinance import setclimatefinancedata_path

setclimatefinancedatapath('path/to/your/data')

```

The easiest way to interact with the data is through the ClimateData class.

For a detailed overview of how to use the ClimateData class, please see its documentation.

Questions? Would like to collaborate?

We want this package to help others analyse climate finance data. If you want to collaborate, or have any questions, please reach out.

Owner

  • Name: ONE Campaign
  • Login: ONEcampaign
  • Kind: organization

ONE is a global movement campaigning to end extreme poverty and preventable disease by 2030.

GitHub Events

Total
  • Issues event: 8
  • Delete event: 11
  • Issue comment event: 3
  • Push event: 14
  • Pull request event: 6
  • Fork event: 1
  • Create event: 3
Last Year
  • Issues event: 8
  • Delete event: 11
  • Issue comment event: 3
  • Push event: 14
  • Pull request event: 6
  • Fork event: 1
  • Create event: 3

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 280
  • Total Committers: 2
  • Avg Commits per committer: 140.0
  • Development Distribution Score (DDS): 0.054
Past Year
  • Commits: 59
  • Committers: 1
  • Avg Commits per committer: 59.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jorge Rivera j****a@o****g 265
Mattie-P 1****P 15
Committer Domains (Top 20 + Academic)
one.org: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 49
  • Total pull requests: 33
  • Average time to close issues: 2 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.16
  • Average comments per pull request: 0.06
  • Merged pull requests: 31
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 1
  • Pull requests: 4
  • Average time to close issues: 10 days
  • Average time to close pull requests: 2 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 5.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jm-rivera (42)
  • Mattie-P (4)
  • AidanGeel (1)
Pull Request Authors
  • jm-rivera (39)
  • dependabot[bot] (2)
Top Labels
Issue Labels
enhancement (24) documentation (13) tests (4) bug (4) multilateral (2)
Pull Request Labels
enhancement (7) dependencies (2) documentation (1)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 31 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 26
  • Total maintainers: 1
proxy.golang.org: github.com/onecampaign/climate-finance-package
  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 11 months ago
proxy.golang.org: github.com/ONEcampaign/climate-finance-package
  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 11 months ago
pypi.org: climate-finance

Climate Finance data

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 31 Last month
Rankings
Dependent packages count: 9.6%
Average: 36.5%
Dependent repos count: 63.4%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/CI.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/release.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • softprops/action-gh-release v1 composite
poetry.lock pypi
  • anyio 4.0.0
  • attrs 23.1.0
  • bblocks 1.1.1
  • beautifulsoup4 4.12.2
  • black 23.10.0
  • bump2version 1.0.1
  • camelot-py 0.10.1
  • certifi 2023.7.22
  • cffi 1.16.0
  • chardet 5.2.0
  • charset-normalizer 3.3.0
  • click 8.1.7
  • colorama 0.4.6
  • country-converter 1.0.0
  • coverage 7.3.2
  • cryptography 41.0.4
  • et-xmlfile 1.1.0
  • exceptiongroup 1.1.3
  • h11 0.14.0
  • httpcore 0.16.3
  • httpx 0.23.3
  • idna 3.4
  • iniconfig 2.0.0
  • iso3166 2.1.1
  • levenshtein 0.23.0
  • lxml 4.9.3
  • mypy-extensions 1.0.0
  • numpy 1.25.2
  • oda-data 1.0.7
  • opencv-python 4.8.1.78
  • openpyxl 3.1.2
  • outcome 1.3.0
  • packaging 23.2
  • pandas 1.5.3
  • pathspec 0.11.2
  • pdfminer-six 20221105
  • platformdirs 3.11.0
  • pluggy 1.3.0
  • pyarrow 12.0.1
  • pycparser 2.21
  • pydeflate 1.3.8
  • pyjstat 2.4.0
  • pypdf2 2.12.1
  • pysocks 1.7.1
  • pytest 7.4.2
  • pytest-cov 4.1.0
  • python-dateutil 2.8.2
  • python-dotenv 1.0.0
  • python-levenshtein 0.23.0
  • pytz 2023.3.post1
  • pyyaml 6.0.1
  • rapidfuzz 3.4.0
  • requests 2.31.0
  • rfc3986 1.5.0
  • selenium 4.14.0
  • six 1.16.0
  • sniffio 1.3.0
  • sortedcontainers 2.4.0
  • soupsieve 2.5
  • tabulate 0.9.0
  • thefuzz 0.19.0
  • tomli 2.0.1
  • trio 0.22.2
  • trio-websocket 0.11.1
  • typing-extensions 4.8.0
  • urllib3 2.0.7
  • wbgapi 1.0.12
  • webdriver-manager 4.0.1
  • weo 0.7.4
  • wsproto 1.2.0
  • xlrd 2.0.1
pyproject.toml pypi
  • bblocks ^1.1.1
  • numpy ^1.25.1
  • oda-data ^1.0.4
  • openpyxl ^3.1.2
  • pandas <2.0
  • python ^3.10
  • requests ^2.31.0
  • selenium ^4.10.0
  • thefuzz ^0.19.0
  • webdriver-manager ^4.0.0