gii: Calculate Global Import Intensity

Description Usage Arguments Value Examples

View source: R/gii.R

Description

Calculates the global import intensity measure as used by Marcel Timmer, Bart Los, Robert Stehrer and Gaaitzen de Vries; An Anatomy of the Global Trade Slowdown based on the WIOD 2016 Release.

Usage

1
gii(iot, regions = "None", industries = "None")

Arguments

iot:

List with elements in a Input-Output Table (load via [load_iot()])

regions:

Vector with categorisation of countries.

industries:

Vector with categorisation of industries.

Value

The input-output table list with the GII measure (gii) and a description of the countries and industries (gii_descr) for use in [export_dataframe()].

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
iot <- load_iot("WIOD2013", 2000)
iot <- gii(iot)

iots <- load_iots("WIOD2013", 2000:2001)
NAFTA <- c("USA", "MEX", "CAN")
BENELUX <- c("BEL", "NLD", "LUX") 
regions <- countrycat(list(NAFTA, BENELUX), iots)
primary <- c("AtB", "C") 
transport <- c("60", "61", "62", "63")
industries <- industrycat(list(primary, transport), iots)

iots <- on_iots(gii, iots, regions = regions, industries = industries)
df_gii <- export_dataframe("gii", iots)

sybrendeuzeman/WIOD_package documentation built on Jan. 29, 2020, 9:07 p.m.