Package: pacta.loanbook 0.0.0.9000

Jacob Kastl

pacta.loanbook: Easily Install and Load 'PACTA' for Banks Packages

'PACTA' for Banks is a tool that allows banks to calculate the climate alignment of their corporate lending portfolios. This package is designed to make it easy to install and load multiple 'PACTA' for Banks packages in a single step. It also provides thorough documentation - the 'PACTA' for Banks cookbook - on how to run a 'PACTA' for Banks analysis. This covers prerequisites for the analysis, the separate steps of running the analysis, the interpretation of 'PACTA' for Banks results, and advanced use cases.

Authors:Jacob Kastl [aut, cre, ctr], Jackson Hoffart [aut, ctr], CJ Yetman [aut, ctr], RMI [cph, fnd]

pacta.loanbook_0.0.0.9000.tar.gz
pacta.loanbook_0.0.0.9000.zip(r-4.5)pacta.loanbook_0.0.0.9000.zip(r-4.4)pacta.loanbook_0.0.0.9000.zip(r-4.3)
pacta.loanbook_0.0.0.9000.tgz(r-4.5-any)pacta.loanbook_0.0.0.9000.tgz(r-4.4-any)pacta.loanbook_0.0.0.9000.tgz(r-4.3-any)
pacta.loanbook_0.0.0.9000.tar.gz(r-4.5-noble)pacta.loanbook_0.0.0.9000.tar.gz(r-4.4-noble)
pacta.loanbook_0.0.0.9000.tgz(r-4.4-emscripten)pacta.loanbook_0.0.0.9000.tgz(r-4.3-emscripten)
pacta.loanbook.pdf |pacta.loanbook.html
pacta.loanbook/json (API)

# Install 'pacta.loanbook' in R:
install.packages('pacta.loanbook', repos = c('https://rmi-pacta.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rmi-pacta/pacta.loanbook/issues

Pkgdown site:https://rmi-pacta.github.io

On CRAN:

Conda:

4.68 score 1 stars 12 scripts 56 exports 46 dependencies

Last updated 16 hours agofrom:5fecb8fe00. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 10 2025
R-4.5-winOKMar 10 2025
R-4.5-macOKMar 10 2025
R-4.5-linuxOKMar 10 2025
R-4.4-winOKMar 10 2025
R-4.4-macOKMar 10 2025
R-4.4-linuxOKMar 10 2025
R-4.3-winOKMar 10 2025
R-4.3-macOKMar 10 2025

Exports:%>%abcd_democo2_intensity_scenario_democrucial_lbkdata_dictionarygics_classificationincreasing_or_decreasingisic_classificationiso_codesloanbook_demomarket_sharematch_namenace_classificationnaics_classificationoverwrite_demopacta_loanbook_conflictspacta_loanbook_depspacta_loanbook_logopacta_loanbook_packagespacta_loanbook_sitreppacta_loanbook_updatepalette_coloursplot_emission_intensityplot_techmixplot_trajectoryprep_emission_intensityprep_techmixprep_trajectoryprioritizeprioritize_levelpsic_classificationqplot_emission_intensityqplot_techmixqplot_trajectoryrecode_metric_techmixrecode_metric_trajectoryregion_isosregion_isos_demoscale_colour_r2diiscale_colour_r2dii_sectorscale_colour_r2dii_techscale_fill_r2diiscale_fill_r2dii_sectorscale_fill_r2dii_techscenario_coloursscenario_demo_2020sdasector_classificationssector_colourssic_classificationspell_out_technologytarget_market_sharetarget_sdatechnology_colourstheme_2diito_title

Dependencies:clicolorspacecpp11data.tabledplyrfansifarvergenericsggplot2ggrepelgluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrr2dii.analysisr2dii.datar2dii.matchr2dii.plotR6RColorBrewerRcpprlangrstudioapiscalesstringdiststringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrzoo

ABCD

Rendered fromdata_abcd.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2025-02-18
Started: 2025-02-03

Loanbook

Rendered fromdata_loanbook.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2025-02-18
Started: 2025-02-03

PACTA Outputs

Rendered fromdata_outputs.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2025-03-07
Started: 2025-02-03

Scenario

Rendered fromdata_scenario.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2025-02-18
Started: 2025-02-03

Sector Classification

Rendered fromdata_classification.Rmdusingknitr::rmarkdownon Mar 10 2025.

Last update: 2025-02-28
Started: 2025-02-03

Readme and manuals

Help Manual

Help pageTopics
An asset-based company dataset for demonstrationabcd_demo
A prepared CO~2~ intensity climate scenario dataset for demonstrationco2_intensity_scenario_demo
Crucial 'loanbook' columns for 'match_name()'crucial_lbk
Data Dictionarydata_dictionary
Dataset to bridge (translate) common sector-classification codesgics_classification
Determine if a technology is increasing or decreasingincreasing_or_decreasing
Dataset to bridge (translate) common sector-classification codesisic_classification
Countries and codesiso_codes
A loanbook dataset for demonstrationloanbook_demo
An example of a 'market_share'-like datasetmarket_share
Match a loanbook to asset-based company data (abcd) by the name_* columnsmatch_name
Dataset to bridge (translate) common sector-classification codesnace_classification
Dataset to bridge (translate) common sector-classification codesnaics_classification
A demonstration dataset used to overwrite specific entity names or sectorsoverwrite_demo
Conflicts between the '{pacta.loanbook}' and other packagespacta_loanbook_conflicts
List all '{pacta.loanbook}' dependenciespacta_loanbook_deps
The '{pacta.loanbook}' logo, using ASCII or Unicode characterspacta_loanbook_logo
List all packages in '{pacta.loanbook}'pacta_loanbook_packages
Get a situation report on '{pacta.loanbook}'pacta_loanbook_sitrep
Update '{pacta.loanbook}' packagespacta_loanbook_update
Colour datasetspalette_colours
Create an emission intensity plotplot_emission_intensity
Create a techmix plotplot_techmix
Create a trajectory plotplot_trajectory
Prepare data for a emission intensity plotprep_emission_intensity
Prepare data for plotting technology mixprep_techmix
Prepare data for a trajectory plotprep_trajectory
Pick rows where 'score' is 1 and 'level' per loan is of highest 'priority'prioritize
Arrange unique 'level' values in default order of 'priority'prioritize_level
Dataset to bridge (translate) common sector-classification codespsic_classification
Create a quick emission intensity plotqplot_emission_intensity
Create a quick techmix plotqplot_techmix
Create a quick trajectory plotqplot_trajectory
Replicate labels produced with qplot_*() functionsrecode_metric_techmix
Replicate labels produced with qplot_*() functionsrecode_metric_trajectory
A dataset outlining various region definitionsregion_isos
A dataset outlining various region definitionsregion_isos_demo
Custom 2DII colour and fill scalesscale_colour_r2dii
Custom 2DII sector colour and fill scalesscale_colour_r2dii_sector
Custom 2DII technology colour and fill scalesscale_colour_r2dii_tech
Custom 2DII colour and fill scalesscale_fill_r2dii
Custom 2DII sector colour and fill scalesscale_fill_r2dii_sector
Custom 2DII technology colour and fill scalesscale_fill_r2dii_tech
Colour datasetsscenario_colours
A prepared climate scenario dataset for demonstrationscenario_demo_2020
An example of an 'sda'-like datasetsda
A view of available sector classification datasetssector_classifications
Colour datasetssector_colours
Dataset to bridge (translate) common sector-classification codessic_classification
Replicate labels produced with qplot_*() functionsspell_out_technology
Add targets for production, using the market share approachtarget_market_share
Add targets for CO^2 emissions per unit production at the portfolio level, using the SDA approachtarget_sda
Colour datasetstechnology_colours
Complete themetheme_2dii
Replicate labels produced with qplot_*() functionsto_title