plot_metareport_pacta_sectors_mix: Create a small multiples stacked bar chart with percentage...

Description Usage Arguments Value Examples

View source: R/plot_2diicharts.R

Description

Create a small multiples stacked bar chart with percentage investment in PACTA sectors

Usage

1
2
3
4
5
6
7
8
plot_metareport_pacta_sectors_mix(
  data,
  plot_title = NULL,
  df_sectors_order = data.frame(sector = c("steel", "cement", "shipping", "aviation",
    "automotive", "power", "coal", "oil&gas"), label = c("Steel", "Cement", "Shipping",
    "Aviation", "Automotive", "Power", "Coal", "Oil & Gas")),
  bars_labels_specs = NULL
)

Arguments

data

Dataframe with data processed for the chart. With columns: investor_name, asset_type, sector, share (dataframe).

plot_title

Title of the plot; if no title is specified, the plot title is set in the code to a predetermined character string (character string).

df_sectors_order

Dataframe with ordered sector names and their labels (dataframe).

bars_labels_specs

Dataframe with labels for investor types, columns: investor_type, label. If no is specified, investor_type from data is used as label. (dataframe).

Value

An object of class "ggplot".

Examples

1
# TODO

2DegreesInvesting/r2dii.ggplot documentation built on April 15, 2021, 5:22 a.m.