View source: R/io_tidy_icio_v2.R
io_tidy_icio_v2 | R Documentation |
Function to turn a list of OECD ICIO components, usually obtained from a call
to io_load_icio_v2()
, into a tibble, i.e. a 'tidy' data frame.
io_tidy_icio_v2(icio, quiet = FALSE)
icio |
list containing ICIO years from the 2023 release |
quiet |
if TRUE will try to avoid printing messages |
Returns one tibble
combining all components from icio
.
OECD. (2023) OECD Inter-Country Input-Output Tables, 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_v2_raw <- io_load_icio_v2(cache_dir, years = 2010:2012)
icio_v2 <- io_tidy_icio_v2(icio_v2_raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.