knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(WIODnet)
This package aims to help researchers using WIOD data. WIOD (World Input Output Data) is a collection of input output tables covering 43 countries and a model for the rest of the world (RoW), 56 sectors classified according to he International Standard Industrial Classification revision 4 (ISIC Rev. 4) for the period of 2000-2016.
This package download the zip file provided at the download section, check its integrity, create long tables, record them on the working directory and carry out network analysis and finally create a panel data comprising all information obtained from WIOD tables.
Using the isic parameter in the functions; it is possible to obtain final panel data with industries aggregated at different levels. All nodes are country-industry pairs.
isic = 0
There is no aggregation in industries. All nodes are country-industry pairs as given in the original files.
isic = 1
The aggregation is carried out at the level of ISIC 1 digit code.
The aggregation is only made for the manufacturing industry according to the Eurostat technology intensity classification
WIODnet package provides four functions to users. All functions creates directories and the final panelWIOD(isic) gives panel data in csv format. The last function getCountryWIOD provides a panel data in which there is no industry, all I-O is country based.
getWIOD(isic) this function download the WIOD data into wiod_original_data and creates long tables for each year in wiod_long_data.
netWIOD(isic) makes the network calculation on the long tables which are created with getWIOD().
panelWIOD(isic) merges all long tables and provide a single panel data file in csv.
getCountryWIOD() use WIOD data to provide a panel data consisting of countries.
If you are using this package multiple times, better to stick to work always on the same directory, else you will download the same +600 MB data from the WIOD server.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.