Skip to content

Latest commit

 

History

History
104 lines (75 loc) · 2.87 KB

README.md

File metadata and controls

104 lines (75 loc) · 2.87 KB

gvc

License CRAN Version R build status Coverage status Total RStudio Cloud Downloads Montly RStudio Cloud Downloads

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

gvc 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