USEPA / useeior

Estimating potential environmental impacts of goods and services in the US economy
MIT License
31 stars 19 forks source link

Domestic result calculation using final perspective ... domestic versions of M and d not used #262

Closed WesIngwersen closed 7 months ago

WesIngwersen commented 11 months ago

https://github.com/USEPA/useeior/blob/798cd72e0ca0f9a59710e5edef63f2bada54ba17/R/CalculationFunctions.R#L17

In calculateEEIOmodel() if use_domestic_requirements = TRUE, L is set to L_d which is then used in the DIRECT perspective calculations, but M and N are not set to M_d and N_d, respectively. so 'L` is still inherently used in the FINAL perspective calcs.

WesIngwersen commented 11 months ago

fyi @jvendries @bl-young