RMI-PACTA / pacta.executive.summary

Repo containing the code to generate charts in the PACTA COP executive summary document.
https://rmi-pacta.github.io/pacta.executive.summary/
Other
2 stars 2 forks source link

update folder structure for pre-generated files used in executive summary #264

Closed jacobvjk closed 1 year ago

jacobvjk commented 1 year ago

The pre-generated files in for the executive summary in PA2022FL differ from PA2022CH in that there will be no real estate section and we want to drop the climate score card.

Thus far, the executive summary reads user specific pre-generated files implicitly assuming there are three different sections, the survey, real estate and the rest, where the rest contains PACTA based results AND files specific to the climate score card.

I suggest splitting up the pre-generated files into four instead of three subdirectories for each user, namely executive_summary, survey, real_estate, score_card. This will make it easier to return different combinations of chapters of the executive summary, depending on the initiative. Every user with a PACTA result, would always get an executive_summary subdirectory if an executive summary is to be returned for the initiative. All other sections can be added or removed as needed.

This would have implications on pacta.cop.PA2022FL and user_results as well. possibly also on workflow.transition.monitor, to clearly articulate which sections to return when calling the executive summary

jacobvjk commented 1 year ago

this idea was discarded so that the changes needed in PA2022FL (especially int he workflow) are not incompatible with how to call the executive summary for PA2022CH