Create a scenario alignment table
Arguments
- data
A data frame. In principle, an output of
prep_alignment_table()
. Requirements:asset_class
must have a single value.Must have columns:
asset_class
,sector
,technology
,entity
,aligned_scen_temp
,perc_aum
.entity
must contain at least one value of "portfolio".sector
must be one of: "power", "fossil_fuels", "automotive".aligned_scen_temp
must be one of: ">3.2C", "2.7-3.2C", "<2C".perc_aum
must be a percentage in decimal format, with values between 0 and 1.
Examples
library(dplyr)
#>
#> Attaching package: ‘dplyr’
#> The following objects are masked from ‘package:stats’:
#>
#> filter, lag
#> The following objects are masked from ‘package:base’:
#>
#> intersect, setdiff, setequal, union
plot_alignment_table(toy_data_alignment_table %>% filter(asset_class == "equity"))