Description Usage Arguments Details Value Examples
[oniots()] executes the same function on a list of international input-output tables (IOTs)
1 |
fun: |
The function to run over. |
iots: |
the list of IOTs |
...: |
Any other arguments needed for function in fun, |
fun should be a function that appends its output to the IOT.
List of international input-output tables with the output of the function call added to each IOT.
1 2 3 4 5 6 7 8 9 10 11 12 13 | iots <- load_iots("WIOD2013", 2000:2001)
iots <- on_iots(gii, iots)
## Not run: Example with extra arguments
NAFTA <- c("USA", "MEX", "CAN")
BENELUX <- c("BEL", "LUX", "NLD")
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.