get_va_exgr | R Documentation |
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.
get_va_exgr(
wio_object,
va_type = "FC",
geo_orig = "WLD",
sec_orig = "TOTAL",
geo_export,
sec_export = "TOTAL",
as_numeric = TRUE
)
wio_object |
An object of class |
va_type |
Character string specifying the output as domestic
content ( |
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 |
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 |
as_numeric |
Boolean specifying whether to return a numeric value or
matrix ( |
A matrix, vector or data frame with export value added data.
wio <- make_wio("iciotest")
# Exports of manufactures of Spain using foreign VA from France
get_va_exgr(wio, "FC", "FRA", "TOTAL", "ESP", "MANUF")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.