Package 'r2dii.interactive'

Title: What the Package Does (One Line, Title Case)
Description: What the package does (one paragraph).
Authors: CJ Yetman [aut, cre] , 2 Degrees Investing Initiative [cph, fnd]
Maintainer: CJ Yetman <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-11-21 06:21:59 UTC
Source: https://github.com/2DegreesInvesting/r2dii.interactive

Help Index


Convert raw data into a exposure map data frame

Description

The as_exposure_map_data function converts raw data into a exposure map data frame

Usage

as_exposure_map_data(
  results_map,
  start_year,
  dataframe_translations,
  language_select = "EN"
)

Arguments

results_map

results_map

start_year

start_year

dataframe_translations

dataframe_translations

language_select

two letter code for language (single string; default = "EN")


Convert raw data into a exposure pie data frame

Description

The as_exposure_pie_data function converts raw data into a exposure pie data frame

Usage

as_exposure_pie_data(
  audit_file,
  investor_name,
  portfolio_name,
  twodi_sectors = c("Power", "Automotive", "Shipping", "Oil&Gas", "Coal", "Steel",
    "Cement", "Aviation"),
  dataframe_translations,
  language_select = "EN"
)

Arguments

audit_file

audit_file

investor_name

investor_name

portfolio_name

portfolio_name

twodi_sectors

twodi_sectors

dataframe_translations

dataframe_translations

language_select

two letter code for language (single string; default = "EN")


Convert raw data into a peer comparison data frame

Description

The as_peer_comparison_data function converts raw data into a peer comparison data frame

Usage

as_peer_comparison_data(
  investor_name,
  portfolio_name,
  peer_group,
  start_year,
  equity_results_portfolio,
  bonds_results_portfolio,
  peers_equity_results_user,
  peers_bonds_results_user,
  select_scenario,
  select_scenario_auto,
  select_scenario_shipping,
  select_scenario_other,
  dataframe_translations,
  language_select = "EN"
)

Arguments

investor_name

investor_name

portfolio_name

portfolio_name

peer_group

peer_group

start_year

start_year

equity_results_portfolio

equity_results_portfolio

bonds_results_portfolio

bonds_results_portfolio

peers_equity_results_user

peers_equity_results_user

peers_bonds_results_user

peers_bonds_results_user

select_scenario

select_scenario

select_scenario_auto

select_scenario_auto

select_scenario_shipping

select_scenario_shipping

select_scenario_other

select_scenario_other

dataframe_translations

dataframe_translations

language_select

two letter code for language (single string; default = "EN")


Convert raw data into a tech exposure data frame

Description

The as_tech_exposure_data function converts raw data into a tech exposure data frame

Usage

as_tech_exposure_data(
  equity_results_portfolio,
  bonds_results_portfolio,
  indices_equity_results_portfolio,
  indices_bonds_results_portfolio,
  investor_name,
  portfolio_name,
  start_year,
  green_techs = c("RenewablesCap", "HydroCap", "NuclearCap", "Hybrid", "Electric",
    "FuelCell", "Hybrid_HDV", "Electric_HDV", "FuelCell_HDV", "Ac-Electric Arc Furnace",
    "Dc-Electric Arc Furnace"),
  select_scenario,
  select_scenario_auto,
  select_scenario_shipping,
  select_scenario_other,
  all_tech_levels,
  equity_market_levels,
  dataframe_translations,
  language_select = "EN"
)

Arguments

equity_results_portfolio

equity_results_portfolio

bonds_results_portfolio

bonds_results_portfolio

indices_equity_results_portfolio

indices_equity_results_portfolio

indices_bonds_results_portfolio

indices_bonds_results_portfolio

investor_name

investor_name

portfolio_name

portfolio_name

start_year

start_year

green_techs

green_techs

select_scenario

select_scenario

select_scenario_auto

select_scenario_auto

select_scenario_shipping

select_scenario_shipping

select_scenario_other

select_scenario_other

all_tech_levels

all_tech_levels

equity_market_levels

equity_market_levels

dataframe_translations

dataframe_translations

language_select

two letter code for language (single string; default = "EN")


Convert raw data into a trajectory alignment data frame

Description

The as_trajectory_alignment_data function converts raw data into a trajectory alignment data frame

Usage

as_trajectory_alignment_data(
  equity_results_portfolio,
  bonds_results_portfolio,
  indices_equity_results_portfolio,
  indices_bonds_results_portfolio,
  investor_name,
  portfolio_name,
  tech_roadmap_sectors,
  scen_geo_levels,
  all_tech_levels,
  year_horizon = 5,
  dataframe_translations,
  language_select = "en"
)

Arguments

equity_results_portfolio

equity_results_portfolio

bonds_results_portfolio

bonds_results_portfolio

indices_equity_results_portfolio

indices_equity_results_portfolio

indices_bonds_results_portfolio

indices_bonds_results_portfolio

investor_name

investor_name

portfolio_name

portfolio_name

tech_roadmap_sectors

tech_roadmap_sectors

scen_geo_levels

scen_geo_levels

all_tech_levels

all_tech_levels

year_horizon

number of years to include from the start year (single integer/numeric)

dataframe_translations

dataframe_translations

language_select

two letter code for language (single string; default = "EN")


Create an interactive exposure map chart in an htmlwidget

Description

The exposure_map_chart function creates an interactive exposure map chart in an htmlwidget

Usage

exposure_map_chart(.data, width = NULL, height = NULL, ...)

Arguments

.data

an exposure map data frame

width, height

width and height of exported htmlwidget in pixels (single integer value; default == NULL)

...

other options passed on to r2d3::r2d3() (see details)


Create an interactive exposure pie chart in an htmlwidget

Description

The exposure_pie_chart function creates an interactive exposure pie chart in an htmlwidget

Usage

exposure_pie_chart(.data, width = NULL, height = NULL, ...)

Arguments

.data

a exposure pie data frame

width

width of exported htmlwidget in pixels (single integer value; default == NULL)

height

height of exported htmlwidget in pixels (single integer value; default == NULL)

...

other options passed on to r2d3::r2d3() (see details)


Create an interactive peer comparison chart in an htmlwidget

Description

The peer_comparison_chart function creates an interactive peer comparison chart in an htmlwidget

Usage

peer_comparison_chart(.data, width = NULL, height = NULL, ...)

Arguments

.data

a peer comparison data frame

width

width of exported htmlwidget in pixels (single integer value; default == NULL)

height

height of exported htmlwidget in pixels (single integer value; default == NULL)

...

other options passed on to r2d3::r2d3() (see details)


Create an interactive tech exposure chart in an htmlwidget

Description

The tech_exposure_chart function creates an interactive tech exposure chart in an htmlwidget

Usage

tech_exposure_chart(.data, width = NULL, height = NULL, ...)

Arguments

.data

a tech exposure data frame

width

width of exported htmlwidget in pixels (single integer value; default == NULL)

height

height of exported htmlwidget in pixels (single integer value; default == NULL)

...

other options passed on to r2d3::r2d3() (see details)


Create an interactive trajectory alignment chart in an htmlwidget

Description

The trajectory_alignment_chart function creates an interactive trajectory alignment chart in an htmlwidget

Usage

trajectory_alignment_chart(.data, width = NULL, height = NULL, ...)

Arguments

.data

a trajectory alignment data frame

width

width of exported htmlwidget in pixels (single integer value; default == NULL)

height

height of exported htmlwidget in pixels (single integer value; default == NULL)

...

other options passed on to r2d3::r2d3() (see details)