RMI-PACTA / pacta.data.preparation

The goal of {pacta.data.preparation} is to prepare and format all input datasets required to run the PACTA for investors tools.
https://rmi-pacta.github.io/pacta.data.preparation/
Other
1 stars 0 forks source link

Programatically determine which economic variable to connect between ABCD and Scenario #4

Open jdhoffa opened 1 year ago

jdhoffa commented 1 year ago

Yes, exactly.... the primary point is that we can see in the current ABCD data that a given sector may have metric == "company level capacity" AND metric == "company level production", and we should be cautious about that and make sure we choose the appropriate one. In the current data, Shipping technologies are the only ones in that situation, so we can get away with ignoring it for now since we aren't using Shipping data to prepare 2021Q4, but eventually we should deal with this possibility (for all sectors) in a programmatic way.

Originally posted by @cjyetman in https://github.com/2DegreesInvesting/pacta.data.preparation/issues/94#issuecomment-1239104486

cjyetman commented 1 year ago

@jdhoffa should this be transferred to pacta.scenario.preparation?

never mind, I read it more thoroughly and it should probably stay here

jdhoffa commented 1 year ago

To programmatically do this, we need to understand the corresponding units of the scenario more precisely, and then ensure that we are linking the correct scenario units to the correct ABCD units.

unit, in the context of dimensional analysis, e.g. c("production", "capacity")