View source: R/CalculationFunctions.R
calculateResultsWithExternalFactors | R Documentation |
Calculate total emissions/resources (LCI) and total impacts (LCIA) for an EEIO model that has external import factors for a given demand vector. Note that for this calculation, perspective is always FINAL
calculateResultsWithExternalFactors(
model,
perspective = "FINAL",
demand = "Consumption",
location = NULL,
use_domestic_requirements = FALSE,
household_emissions = FALSE,
show_RoW = FALSE
)
model |
A complete EEIO model: a list with USEEIO model components and attributes. |
perspective |
Perspective of the model, can be "DIRECT" or "FINAL". "DIRECT" perspective aligns results with the sectors in which they are produced, while "FINAL" perspective aligns results with the sectors consumed by the final user. |
demand |
A demand vector, can be name of a built-in model demand vector, e.g. "Production" or "Consumption" |
location |
str optional location code for demand vector, required for two-region models |
use_domestic_requirements |
bool, if TRUE, return only domestic portion of results |
household_emissions |
bool, if TRUE, include calculation of emissions from households |
show_RoW |
bool, if TRUE, include rows for commodities in RoW, e.g. '111CA/RoW' in result objects. |
A list with LCI and LCIA results (in data.frame format) of the EEIO model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.