Create a plot showing aggregated score in scorecard
Source:R/plot_scores_scorecard.R
plot_scores_scorecard.Rd
Create a plot showing aggregated score in scorecard
Arguments
- data
A data frame. In principle, an output of
prep_scores_scorecard()
. Requirements:Must have columns:
asset_class
,score
.asset_class
must be one of: "equity", "bonds.score
must be one of: "A+", "A", "B", "C", "D", "E".
Examples
data <- toy_data_scores %>%
dplyr::filter(
scope == "portfolio",
entity == "this_portfolio"
)
plot_scores_scorecard(data)
#> Coordinate system already present. Adding new coordinate system, which will
#> replace the existing one.
#> Scale for fill is already present.
#> Adding another scale for fill, which will replace the existing scale.
#> Scale for colour is already present.
#> Adding another scale for colour, which will replace the existing scale.