Skip to contents

Prepare data input for plotting aggregate climate scores based on PACTA for investors output files. These files must have been wrangled with prep_data_executive_summary() before they can be passed to this function.

Usage

prep_scores(
  results_portfolio,
  peers_results_aggregated,
  asset_class = c("equity", "bonds"),
  scenario_source = "WEO2023"
)

Arguments

results_portfolio

Data frame that contains pre-wrangled portfolio level PACTA results from a PACTA for investors analysis.

peers_results_aggregated

Data frame that contains pre-wrangled aggregate peer group level PACTA results from a PACTA for investors analysis.

asset_class

Character. Must be either equity or bonds.

scenario_source

Character. Must be a scenario_source featured in the scenario_thresholds data set.

Value

data.frame