getSectorLinkages: Function to get backward or forward economic linkages from a...

View source: R/CalculationFunctions.R

getSectorLinkagesR Documentation

Function to get backward or forward economic linkages from a USEEIO model, Provides results based on input demand, sorted by total (direct+indirect) Backward linkages use A and L matrices Forward linkages use Ghosh counterparts to A and L

Description

Function to get backward or forward economic linkages from a USEEIO model, Provides results based on input demand, sorted by total (direct+indirect) Backward linkages use A and L matrices Forward linkages use Ghosh counterparts to A and L

Usage

getSectorLinkages(
  model,
  demand,
  type = "backward",
  location = NULL,
  use_domestic_requirements = FALSE,
  cutoff = 0.01
)

Arguments

model

An EEIO model object with model specs, IO tables, satellite tables, and indicators loaded

demand

A demand vector, can be name of a built-in model demand vector, e.g. "Production" or "Consumption", or an actual demand vector with names as one or more model sectors and numeric values in USD with the same dollar year as model.

type

"backward" linkages use A and L matrices "forward" linkages use Ghosh counterparts to A and L

location

str optional location code for demand vector, required for two-region models

use_domestic_requirements

A logical value: if TRUE, use domestic demand and L_d matrix; if FALSE, use complete demand and L matrix.

cutoff

numeric value, shows the cutoff value for sorted results. Values smaller than cutoff are not shown

Value

dataframe of direct, indirect, and total economic linkages


USEPA/useeior documentation built on June 10, 2025, 12:53 a.m.