The goal of {pacta.scenario.data.preparation} is to prepare and format all scenario input datasets required to run the {pacta.portfolio.allocate} tool.
Note: I also added some fake_* test input datasets to facilitate unit-testing
I am considering extracting those to https://github.com/RMI-PACTA/pacta.demo.data
I will make an issue to that effect after this is merged
Note: This is largely a proof of concept to be used for future scenario preparations.
Since GECO 2022 is now two years old (and already prepared), I don't want to spend too much time thinking of so many tests or new warnings or errors for the function. However, I will absolutely push for a higher standard of acceptance for any future scenarios (2023 onward).
In the context of both workflow.scenario.preparation and this repo, this is a pure refactor. In the context of this repo alone, this is a new feature.
prepare_geco_2022_scenario()
Note: I also added some
fake_*
test input datasets to facilitate unit-testing I am considering extracting those to https://github.com/RMI-PACTA/pacta.demo.data I will make an issue to that effect after this is mergedNote: This is largely a proof of concept to be used for future scenario preparations. Since GECO 2022 is now two years old (and already prepared), I don't want to spend too much time thinking of so many tests or new warnings or errors for the function. However, I will absolutely push for a higher standard of acceptance for any future scenarios (2023 onward).
Relates to #12