The goal of pacta.data.preparation is to prepare all input scenario datasets required to run both the PACTA for investors tool, and the PACTA for Banks r2dii packages.
You can install the development version of pacta.scenario.data.preparation from GitHub with:
# install.packages("pak")
pak::pak("RMI-PACTA/pacta.scenario.data.preparation")
The primary way this package is intended to be used is through the workflow.scenario.preparation repo. See there for an example workflow of how to use the functions of this package to complete a scenario data preparation process properly.