r2dii.analysis
Tools to Calculate Climate Targets for Financial Portfolios
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 (16.2%) to scientific vocabulary
Keywords
climate-change
Keywords from Contributors
interactive
dynamic
chart
projection
optim
embedded
genomics
observability
autograding
hacking
Last synced: 6 months ago
·
JSON representation
Repository
Tools to Calculate Climate Targets for Financial Portfolios
Basic Info
- Host: GitHub
- Owner: RMI-PACTA
- License: other
- Language: R
- Default Branch: main
- Homepage: https://rmi-pacta.github.io/r2dii.analysis
- Size: 20.8 MB
Statistics
- Stars: 12
- Watchers: 5
- Forks: 7
- Open Issues: 16
- Releases: 19
Topics
climate-change
Created over 6 years ago
· Last pushed 6 months ago
Metadata Files
Readme
Changelog
License
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
- Name: RMI-PACTA
- Login: RMI-PACTA
- Kind: organization
- Repositories: 31
- Profile: 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
Last synced: 7 months ago
Top Committers
| 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 (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 79
- Total pull requests: 208
- Average time to close issues: 7 months
- Average time to close pull requests: 4 days
- Total issue authors: 6
- Total pull request authors: 8
- Average comments per issue: 1.52
- Average comments per pull request: 0.63
- Merged pull requests: 184
- Bot issues: 0
- Bot pull requests: 14
Past Year
- Issues: 9
- Pull requests: 63
- Average time to close issues: 2 days
- Average time to close pull requests: 1 day
- Issue authors: 3
- Pull request authors: 4
- Average comments per issue: 0.78
- Average comments per pull request: 0.44
- Merged pull requests: 56
- Bot issues: 0
- Bot pull requests: 3
Top Authors
Issue Authors
- jdhoffa (38)
- maurolepore (13)
- jacobvjk (11)
- cjyetman (10)
- georgeharris2deg (4)
- AlexAxthelm (3)
Pull Request Authors
- jdhoffa (94)
- cjyetman (45)
- jacobvjk (24)
- maurolepore (15)
- dependabot[bot] (14)
- AlexAxthelm (10)
- julie-vienne (5)
- Nicky-Halterman (1)
Top Labels
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)
Pull Request Labels
dependencies (14)
upkeep (6)
bug (4)
feature (4)
github_actions (1)
Packages
- Total packages: 1
-
Total downloads:
- cran 314 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
- License: MIT + file LICENSE
-
Latest release: 0.5.2
published 8 months ago
Rankings
Forks count: 7.4%
Dependent repos count: 14.8%
Stargazers count: 15.9%
Average: 15.9%
Dependent packages count: 17.6%
Downloads: 24.1%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- 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
.github/workflows/R-CMD-check.yaml
actions
- 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
.github/workflows/R-CMD-check_r2dii-devel.yaml
actions
- 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
.github/workflows/pkgdown.yaml
actions
- 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
.github/workflows/pr-commands.yaml
actions
- 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
.github/workflows/render-readme.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite