WIOD data sets package
The wiod package is now available on CRAN.
The package contains the complete WIOD data sets, in a format compatible with the decompr and gvc package.
Installation
The package can be installed using:
{% highlight r %} install.packages(‘wiod’) # case sensitive! {% endhighlight %}
Usage
Following installation, the package can be loaded using:
{% highlight r %} library(wiod) {% endhighlight %}
Data can be loaded using the the data() function, using wiod followed by the last two digits of the required year, as the argument, e.g.
{% highlight r %} data(wiod95) ls() {% endhighlight %}
{% highlight text %}
[1] “countries” “final95” “industries” “inter95” “output95”
{% endhighlight %}
For information on using the package, please refer to the help files.
{% highlight r %} help(‘wiod’) help(package = ‘wiod’) {% endhighlight %}
For examples of usage, see the function-specific help pages.
{% highlight r %} help(‘countries’) help(‘industries’) help(‘inter95’) {% endhighlight %}
In addition to the help files we provide long-form examples in the vignette.
{% highlight r %} vignette(‘wiod’)
or
browseVignettes(‘wiod’) {% endhighlight %}
Additional Information
An overview of the changes is available in the NEWS file.
{% highlight r %} news(package=‘wiod’) {% endhighlight %}
Development
A development version can be installed at your own peril, using:
{% highlight r %} if (!require(‘devtools’)) install.packages(‘devtools’) devtools::install_github(“bquast/wiod”) {% endhighlight %}
Development takes place on the GitHub page, bugs can be filed on the Issues page.