get_va_exgr: Detailed origin and destination of value added in gross exports
Description
Origin of value added in gross exports. It combines a
make_exvadir() command and a get_data() command to obtain
a result equivalent to the OECD's Origin of Value added in Gross Exports
EXGR_BSCI, but with much more flexible geographical and sector options.
A matrix, vector or data frame with export value added data.
Arguments
wio_object
An object of class wio.
va_type
Character string specifying the output as domestic
content ("DC"), foreign content ("FC") or total
content ("TC") from the perspective of the exporter.
As origin of value added is specified, this is normally redundant, but in
the case of exporter "WLD", the domestic and foreign content is
considered as the sum of domestic/foreign contents of all individual
countries. For groups (such as "EU27") domestic/foreign means value
added from within/outside the group.
geo_orig
Character string with code of country or country group
of origin of value added
sec_orig
Character string with code of sector or sector group
of origin of value added. Combinations (with "|") and exceptions
(with "x") are allowed.
geo_export
Character string with code of exporting country or
country group.
sec_export
Character string with code of exporting sector or
sector group. Combinations (with "|") and exceptions (with "x")
are allowed.
as_numeric
Boolean specifying whether to return a numeric value or
matrix (TRUE, default) or a data frame (default for
get_data()).