Skip to contents

Prepare data input for plotting technology alignment table 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_alignment_table(
  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 defining the asset class of the data. Must be either "equity" or "bonds"

scenario_source

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

Value

data.frame