get_data | R Documentation |
Extracts exporting country and sector and destination data from a specific
variable in an exvatools
object.
get_data(
exvatools_object,
var,
exporter,
sector = "TOTAL",
importer = "WLD",
demand_comp = "TOTAL",
custom = FALSE
)
exvatools_object |
An |
var |
String for the selected variable included in the |
exporter |
String vector with codes of the exporting countries.\
If the |
sector |
A character vector with sector codes, e.g. |
importer |
String vector with importing country or country group codes,
e.g. |
demand_comp |
A character vector of demand components, e.g.,
|
custom |
Boolean specifying whether custom-made groups of countries
or sectors are present in the environment to be used. For instance, a
custom |
A two-dimensional matrix with sector and geographical data of a variable.
wio <- make_wio("wiodtest")
get_data(wio, "EXGR", exp = "ESP", sec = "MANUF")
get_data(wio, "EXGR", exp = "ESP", sec = c("TOTAL", "MANUF", "SRVWC"),
imp = c("USA", "FRA"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.