Skip to contents

r2dii.plot 0.3.1

CRAN release: 2023-05-23

  • Gains new datasets:
    • palette_colours contains PACTA brand colours (hex codes),
    • scenario_colours contains colours used for climate scenarios (hex codes),
    • sector_colours contains PACTA sector colours (hex codes),
    • technology_colours contains PACTA technology colours (hex codes).
  • r2dii.plot has transferred to a new organization:

r2dii.plot 0.3.0

CRAN release: 2022-05-05

Breaking changes

  • Package is updated to align with the newest version of r2dii.analysis (v 0.1.13).

  • qplot_trajectory() now plots the column ‘percentage_of_initial_production_by_scope’ by default and uses a percentage y-scale.

New features

  • plot_trajectory() gains new parameters: value_col to indicate which column contains the value to be plotted, and perc_y_scale to control whether y-axis should be scaled as percentage.

Bug fixes and minor enhancements

  • to_title() keeps the word unchanged if all letters are uppercase, for example: to_title("SDS") = "SDS".

  • qplot_trajectory() has new labels.

  • qplot_techmix() has scenario name in label now (#476).

  • All plots now start at the start year of ‘projected’ instead of first common year for all metrics. This allows for bar removal from techmix plots (#390 @Antoine-Lalechere).

r2dii.plot 0.2.0

CRAN release: 2021-10-16

New features


Bug fixes

  • plot_trajectory() now displays only integer years on the x-axis (#403).

  • The ‘Get started’ section of the website works again.

  • theme_2dii() now correctly uses the base_size argument.

r2dii.plot 0.1.0

CRAN release: 2021-06-29

r2dii.plot 0.0.1

CRAN release: 2021-06-21

  • Initial release.