Learn R Programming

⚠️There's a newer version (6.4.0) of this package.Take me there.

gvc

Several tools for Global Value Chain ('GVC') analysis are implemented

  • 'Importing to Export' (i2e())
  • 'Exporting to Re-export' (e2r())
  • 'New Revealed Comparative Advantage' (nrca())
  • 'Upsteamness' (upstream())
  • 'Downstreamness' (downstream())
  • 'Domestic Final Demand Foreign Value Added' (dfdfva())
  • 'Foreign Final Demand Domestic Value Added' (ffddva())
  • 'Domestic Final Demand Domestic Value Added' (dfddva())

Installation

The gvc package is available on CRAN, please note that this is a beta version, the API will change.

install.packages("gvc")

Additionally the development version, to be used at your own peril, is available from GitHub. Installation from GitHub is done using:

if (!require('devtools')) install.packages('devtools')
devtools::install_github("bquast/gvc")

Usage

Following installation, the package can be loaded using:

library(gvc)

For information on using the package, please refer to the help files.

help("gvc")
help(package = "gvc")

For examples of usage, see the function specific help pages.

help("i2e")
help("e2r")
help("nrca")
help("upsteam")
help("downstream")
help("dfdfva")
help("ffddva")
help("dfddva")

In addition to the help files we provide long form examples in the vignette.

vignette("gvc")

# or
browseVignettes("gvc")

Additional Information

An overview of the changes is available in the NEWS file.

news(package="gvc")

There is also a blog post with information on my personal website.

http://qua.st/gvc/

This package relies on the diagonals package (CRAN).

Development

Development takes place on the GitHub page.

http://github.com/bquast/gvc

Bugs can be filed on the GitHub issues page.

https://github.com/bquast/gvc/issues.

TODO

  • nrca()
  • rei()
  • vax()

Copy Link

Version

Install

install.packages('gvc')

Monthly Downloads

278

Version

0.5.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Bastiaan Quast

Last Published

November 9th, 2015

Functions in gvc (0.5.2)

nrca

New Revealed Comparative Advantage
gvc

Global Value Chain analysis
i2e

Importing to Export
e2r

Exporting to Re-export
dfdfva

Domestic Final Demand Foreign Value Added
upstream

Upstreamness
dfddva

Domestic Final Demand Domestic Value Added
downstream

Downstreamness
ffddva

Foreign Final Demand Domestic Value Added