Learn R Programming

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())

Demonstration

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('remotes')) install.packages('remotes')
remotes::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.

https://qua.st/gvc/

This package relies on the diagonals package (CRAN).

Development

Development takes place on the GitHub page.

https://github.com/bquast/gvc

Bugs can be filed on the GitHub issues page.

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

Copy Link

Version

Install

install.packages('gvc')

Monthly Downloads

317

Version

6.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 19th, 2022

Functions in gvc (6.4.0)

i2e

Importing to Export
e2r

Exporting to Re-export
nrca

New Revealed Comparative Advantage
dfddva

Domestic Final Demand Domestic Value Added
upstream

Upstreamness
ffddva

Foreign Final Demand Domestic Value Added
dfdfva

Domestic Final Demand Foreign Value Added
gvc

Global Value Chain analysis
downstream

Downstreamness