Description Usage Arguments Details Examples
View source: R/export_dataframe.R
Function to extract measures from IOTs into a dataframe.
1 | export_dataframe(measures, iots, years = NULL, long = FALSE)
|
measures: |
vector with the names of the measures. |
iots: |
list of input-output tables for which measures are already calculated. |
years: |
vector with years for which to export data |
long: |
Whether data is in long or wide format. |
First element in vector will be used to find the description of the data Make sure the output of the measures are of the same length. (i.e. all need to be on e.g. country-industry, country or industry level)
1 2 3 4 | iots <- load_iots("WIOD2013", 2000:2001)
iots <- on_iots(gii, iots)
df_wide <- export_dataframe("gii", iots)
df_long <- export_dataframe("gii", iots, long = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.