Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration with piamPlotComparison for compareScenarios #247

Closed
wants to merge 5 commits into from

Conversation

fbenke-pik
Copy link
Contributor

@fbenke-pik fbenke-pik commented Apr 5, 2024

This PR moves the generic logic to create a compareScenarios pdf to the library piamPlotComparison.

The following files are no longer needed:

  • R/compareScenarios_EDGET.R (moved to piamPlotComparison)
  • inst/Rmd/compareScenarios_Transport/csEDGET_main.Rmd (moved to piamPlotComparison, EDGE-T specific code was moved to inst/compareScenarios/preprocessing.R)
  • inst/Rmd/compareScenarios_Transport/cs2_latex_template.tex and inst/Rmd/compareScenarios_Transport/cs_pdf_header_include.tex (moved to piamPlotComparison)
  • inst/Rmd/compareScenarios_Transport/cs2_plot_functions.R (some functions were deleted as they were no longer used, others were moved to the notebook where they are used or to the inst/compareScenarios/preprocessing.R )

The section markdowns used to generate the current pdf are EDGE-T specific and remain in this repo. To work with the new framework, they were moved to the folder /inst/compareScenarios/ and renamed to cs_NN_TEXT.Rmd (e.g. inst/Rmd/compareScenarios_Transport/csEDGET_01_energy_demand.Rmd -> inst/compareScenarios/cs_01_energy_demand.Rmd).

inst/compareScenarios/cs_06_costs_and_shareweight_trends.Rmd was refactored to use dplyr instead of data.table. The output generated has not changed through this refactoring.

Rmd files not used in the current cs2 plotting were left in the original folder inst/Rmd/compareScenarios_Transport/. If they are no longer needed, they should be deleted.

@fbenke-pik
Copy link
Contributor Author

Closed in favour of pik-piam/reporttransport#19

@fbenke-pik fbenke-pik closed this Jul 29, 2024
@fbenke-pik fbenke-pik deleted the cs2 branch July 29, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant