r2dii.analysis
These tools help you to assess if a financial portfolio aligns with climate goals.
https://github.com/rmi-pacta/r2dii.analysis
Category: Sustainable Development
Sub Category: Sustainable Investment
Keywords
climate-change
Keywords from Contributors
transforms archiving measur generic optimize observation conversion projection compose animals
Last synced: about 11 hours ago
JSON representation
Repository metadata
Tools to Calculate Climate Targets for Financial Portfolios
- Host: GitHub
- URL: https://github.com/rmi-pacta/r2dii.analysis
- Owner: RMI-PACTA
- License: other
- Created: 2019-09-24T16:13:08.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-08-18T21:25:50.000Z (18 days ago)
- Last Synced: 2025-09-02T12:06:13.774Z (4 days ago)
- Topics: climate-change
- Language: R
- Homepage: https://rmi-pacta.github.io/r2dii.analysis
- Size: 20.8 MB
- Stars: 12
- Watchers: 5
- Forks: 7
- Open Issues: 16
- Releases: 19
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
README.Rmd
--- output: github_document --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) ``` # r2dii.analysis[](https://lifecycle.r-lib.org/articles/stages.html#stable) [](https://CRAN.R-project.org/package=r2dii.analysis) [](https://app.codecov.io/gh/RMI-PACTA/r2dii.analysis?branch=main) [](https://github.com/RMI-PACTA/r2dii.analysis/actions/workflows/R.yml) These tools help you to assess if a financial portfolio aligns with climate goals. They summarize key metrics attributed to the portfolio (e.g. production, emission factors), and calculate targets based on climate scenarios. They implement in R the last step of the free software 'PACTA' (Paris Agreement Capital Transition Assessment). Financial institutions use 'PACTA' to study how their capital allocation impacts the climate. ## Installation Install the released version of r2dii.analysis from CRAN with: ```r install.packages("r2dii.analysis") ``` Or install the development version of r2dii.analysis from GitHub with: ```r # install.packages("pak") pak::pak("RMI-PACTA/r2dii.analysis") ``` ## Example * Use `library()` to attach the packages you need. r2dii.analysis does not depend on the packages r2dii.data and r2dii.match; but we suggest you install them -- with `install.packages(c("r2dii.data", "r2dii.match"))` -- so you can reproduce our examples. ```{r, message=FALSE} library(r2dii.data) library(r2dii.match) library(r2dii.analysis) ``` * Use `r2dii.match::match_name()` to identify matches between your loanbook and the asset level data. ```{r} matched <- match_name(loanbook_demo, abcd_demo) %>% prioritize() ``` ### Add Scenario Targets * Use `target_sda()` to calculate SDA targets of CO~2~ emissions. ```{r} matched %>% target_sda( abcd = abcd_demo, co2_intensity_scenario = co2_intensity_scenario_demo, region_isos = region_isos_demo ) ``` * Use `target_market_share` to calculate market-share scenario targets at the portfolio level: ```{r} matched %>% target_market_share( abcd = abcd_demo, scenario = scenario_demo_2020, region_isos = region_isos_demo ) ``` * Or at the company level: ```{r} matched %>% target_market_share( abcd = abcd_demo, scenario = scenario_demo_2020, region_isos = region_isos_demo, by_company = TRUE ) ``` [Get started](https://rmi-pacta.github.io/r2dii.analysis/articles/r2dii-analysis.html). ```{r echo=FALSE} download.file("http://bit.ly/banks-thanks", thanks <- tempfile()) ``` ## Funding This project has received funding from the [European Union LIFE program](https://wayback.archive-it.org/12090/20210412123959/https://ec.europa.eu/easme/en/) and the International Climate Initiative (IKI). The Federal Ministry for the Environment, Nature Conservation and Nuclear Safety (BMU) supports this initiative on the basis of a decision adopted by the German Bundestag. The views expressed are the sole responsibility of the authors and do not necessarily reflect the views of the funders. The funders are not responsible for any use that may be made of the information it contains.
Owner metadata
- Name: RMI-PACTA
- Login: RMI-PACTA
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/106075608?v=4
- Repositories: 31
- Last ynced at: 2023-03-06T17:39:54.258Z
- Profile URL: https://github.com/RMI-PACTA
GitHub Events
Total
- Create event: 26
- Release event: 1
- Issues event: 16
- Delete event: 31
- Issue comment event: 33
- Push event: 108
- Pull request review comment event: 1
- Pull request review event: 35
- Pull request event: 47
Last Year
- Create event: 26
- Release event: 1
- Issues event: 16
- Delete event: 31
- Issue comment event: 33
- Push event: 108
- Pull request review comment event: 1
- Pull request review event: 35
- Pull request event: 47
Committers metadata
Last synced: 28 days ago
Total Commits: 467
Total Committers: 11
Avg Commits per committer: 42.455
Development Distribution Score (DDS): 0.514
Commits in past year: 36
Committers in past year: 4
Avg Commits per committer in past year: 9.0
Development Distribution Score (DDS) in past year: 0.306
Name | Commits | |
---|---|---|
Mauro | m****e@g****m | 227 |
Jackson Hoffart | j****t@g****m | 170 |
CJ Yetman | cj@c****m | 25 |
Jacob Kastl | 6****k | 17 |
Alex Axthelm | a****m@R****g | 13 |
dependabot[bot] | 4****] | 7 |
julie-vienne | 6****e | 4 |
Vincent | 4****d | 1 |
Nicky Halterman | n****n@g****m | 1 |
Jackson Hoffart | j****n@2****g | 1 |
Clare Murray | c****e@2****g | 1 |
Committer domains:
- 2degrees-investing.org: 2
- rmi.org: 1
- cjyetman.com: 1
Issue and Pull Request metadata
Last synced: 6 days ago
Total issues: 78
Total pull requests: 166
Average time to close issues: 7 months
Average time to close pull requests: 5 days
Total issue authors: 6
Total pull request authors: 8
Average comments per issue: 1.94
Average comments per pull request: 0.73
Merged pull request: 152
Bot issues: 0
Bot pull requests: 7
Past year issues: 9
Past year pull requests: 59
Past year average time to close issues: 2 days
Past year average time to close pull requests: 3 days
Past year issue authors: 3
Past year pull request authors: 4
Past year average comments per issue: 0.78
Past year average comments per pull request: 0.47
Past year merged pull request: 54
Past year bot issues: 0
Past year bot pull requests: 2
Top Issue Authors
- jdhoffa (38)
- maurolepore (13)
- jacobvjk (11)
- cjyetman (9)
- georgeharris2deg (4)
- AlexAxthelm (3)
Top Pull Request Authors
- jdhoffa (94)
- cjyetman (45)
- jacobvjk (24)
- maurolepore (15)
- dependabot[bot] (14)
- AlexAxthelm (10)
- julie-vienne (5)
- Nicky-Halterman (1)
Top Issue Labels
- ADO (10)
- feature (9)
- upkeep (9)
- small (9)
- bug (9)
- priority (8)
- medium (5)
- documentation (5)
- good first issue :heart: (3)
- maintenance-day :nerd_face: (3)
- breaking change :skull_and_crossbones: (2)
- concept (1)
- on-ADO (1)
- help wanted :heart: (1)
- wontfix (1)
Top Pull Request Labels
- dependencies (14)
- upkeep (6)
- bug (4)
- feature (4)
- github_actions (1)
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 431 last-month
- Total dependent packages: 1
- Total dependent repositories: 4
- Total versions: 19
- Total maintainers: 1
cran.r-project.org: r2dii.analysis
Measure Climate Scenario Alignment of Corporate Loans
- Homepage: https://rmi-pacta.github.io/r2dii.analysis/
- Documentation: http://cran.r-project.org/web/packages/r2dii.analysis/r2dii.analysis.pdf
- Licenses: MIT + file LICENSE
- Latest release: 0.5.2 (published 3 months ago)
- Last Synced: 2025-09-04T13:07:56.004Z (1 day ago)
- Versions: 19
- Dependent Packages: 1
- Dependent Repositories: 4
- Downloads: 431 Last month
-
Rankings:
- Forks count: 7.383%
- Dependent repos count: 14.752%
- Stargazers count: 15.855%
- Average: 15.939%
- Dependent packages count: 17.575%
- Downloads: 24.133%
- Maintainers (1)
Dependencies
- R >= 3.4 depends
- dplyr >= 0.8.5 imports
- glue * imports
- lifecycle * imports
- magrittr * imports
- r2dii.data * imports
- rlang >= 0.1.2 imports
- tidyr * imports
- tidyselect * imports
- zoo * imports
- covr * suggests
- r2dii.match * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- spelling * suggests
- testthat >= 3.0.0 suggests
- withr * suggests
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- r-lib/actions/pr-fetch v2 composite
- r-lib/actions/pr-push v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
Score: 11.810032978069165