io_tidy_icio | R Documentation |
Function to turn a list of OECD ICIO components, usually obtained from a call
to io_load_icio()
, into a tibble, i.e. a 'tidy' data frame.
io_tidy_icio(icio, quiet = FALSE)
icio |
list containing ICIO components |
quiet |
if TRUE will try to avoid printing messages |
Returns one tibble
combining all components from icio
.
OECD (2021), OECD Inter-Country Input-Output Database, http://oe.cd/icio
## Not run:
library(iotr)
# set cache_dir for ICIO to avoid (very) long download times on every run !!!
cache_dir <- NULL
icio_raw <- io_load_icio(cache_dir,
years = 2010:2012,
components = c("Z", "CONS", "GFCF", "INVNT", "NONRES"))
icio <- io_tidy_icio(icio_raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.