make_exvadir: Direction (detailed origin and destination) of value added in...

View source: R/make_exvadir.R

make_exvadirR Documentation

Direction (detailed origin and destination) of value added in exports

Description

Direction of value added in exports, i.e., details of both geographical and sector origin of the VA incorporated in exports and of the final destination (in gross terms or in terms of final absorption).

Usage

make_exvadir(
  wio_object,
  exporter,
  va_type = "TC",
  flow_type = "EXGR",
  orig_geo = "all",
  sec_orig = "all",
  via = "any",
  perspective = "exporter",
  intra = FALSE
)

Arguments

wio_object

A wio object

exporter

Country code (or country group code) of exporting country

va_type

VA total content ("TC"), domestic ("DC") or foreign content ("FC") or VA content excluding double counting ("TVA", "DVA", "FVA")

flow_type

Gross exports ("EXGR") or in terms of final demand: "EXGRY", "EXGRY_FIN", "EXGRY_INT".

orig_geo

Geographical origin of value added (default: "all")

sec_orig

Code of sector of origin of value added (default: "all")

via

Code of intermediate importing country (default: "any")

perspective

Sector perspective, "origin" or "exporter".

intra

Boolean for inclusion of intra-regional exports (default: FALSE)

Value

Matrix with source and destination of value added in exports

Examples

wio <- make_wio("wiodtest", quiet = TRUE)
# Foreign services content of value added incorporated in exports of Spain,
# by country of origin and final destination, expressed in gross terms
# (equivalent to OECD TiVA’s indicator EXGR_SERV_FVA).
exvadir <- make_exvadir(wio, va = "FC", flow="EXGR", exp="ESP",
                        sec_orig="SRVWC")
summary(exvadir)

exvatools documentation built on Sept. 17, 2024, 1:07 a.m.