Create a bar plot showing exposure to a sector
Source:R/plot_exposures_survey.R
plot_exposures_survey.Rd
Create a bar plot showing exposure to a sector
Arguments
- data
A data frame. In principle, an output of
prep_exposures_survey()
. Requirements:Must have columns:
asset_class
,entity
,sector
,exposure_perc_aum
.asset_class
must have a single value.entity
must be one of: "portfolio", "peers".sector
must be one of PACTA sectors. Runnames(r2dii.colours::colour_aliases_pacta)
for the list of values.exposure_perc_aum
must be a percentage in decimal format, with values between 0 and 1.