Create a plot showing aggregated scores for portfolio and peers
Source:R/plot_scores.R
plot_scores.Rd
Create a plot showing aggregated scores for portfolio and peers
Arguments
- data
A data frame. In principle, an output of
prep_scores()
. Requirements:Must have columns:
asset_class
,scope
,entity
,sector
,score
.asset_class
must have a single value.scope
must be one of: "portfolio", "sector".entity
must have following values: "this_portfolio", "peers".sector
must be one of: "power", "automotive", "coal", "oil", "gas", "steel", "aviation" orNA
in case ofscope
== "portfolio".score
must be one of: "A+", "A", "B", "C", "D", "E".