oec: Use the Observatory of Economic Complexity's API in R

Share:

Use The Observatory of Economic Complexity's API in R to download international trade data in csv and create and D3Plus visualizations.

Author
Mauricio Vargas S. <mvargas@dcc.uchile.cl> [aut, cre], Cesar A. Hidalgo <hidalgo@media.mit.edu> [aut]
Date of publication
2016-11-18 10:58:07
Maintainer
Mauricio Vargas S. <mvargas@dcc.uchile.cl>
License
MIT + file LICENSE
Version
2.2
URLs

View on CRAN

Man pages

countries_list
A list of all the countries
demos
Copies the demo file
getdata
Downloads and processes the data from the API
hs92_2char
HS92 groups
hs92_6char
HS92 products (6 characters)
hs92_8char
HS92 products (8 characters)
hs_colors
HS92 colors
install_d3plus
Installs D3 and D3Plus
network
Creates a network for a given year
network_comparison
Creates a network to compare two years
oec-package
The Observatory of Economic Complexity
sitc_colors
SITC (rev. 2) colors
sitc_rev2_2char
SITC (rev. 2) groups
sitc_rev2_4char
SITC (rev. 2) products (4 characters)
treemap
Creates a treemap for a given year

Files in this package

oec
oec/inst
oec/inst/DESCRIPTION
oec/inst/extdata
oec/inst/extdata/nodes_sitc.json
oec/inst/extdata/network_compare_template.html
oec/inst/extdata/treemap_template.html
oec/inst/extdata/edges_sitc.json
oec/inst/extdata/edges_hs.json
oec/inst/extdata/nodes_hs.json
oec/inst/extdata/d3plus-2.0.zip
oec/inst/extdata/network_template.html
oec/inst/extdata/demo_examples.R
oec/NAMESPACE
oec/data
oec/data/sitc_colors.RData
oec/data/sitc_rev2_2char.RData
oec/data/hs_colors.RData
oec/data/hs92_6char.RData
oec/data/countries_list.RData
oec/data/hs92_8char.RData
oec/data/sitc_rev2_4char.RData
oec/data/hs92_2char.RData
oec/R
oec/R/oec.r
oec/R/treemap.R
oec/R/network.R
oec/R/install_d3plus.R
oec/R/demos.R
oec/R/network_comparison.R
oec/R/getdata.R
oec/MD5
oec/DESCRIPTION
oec/man
oec/man/countries_list.Rd
oec/man/treemap.Rd
oec/man/sitc_rev2_2char.Rd
oec/man/sitc_rev2_4char.Rd
oec/man/demos.Rd
oec/man/hs_colors.Rd
oec/man/network_comparison.Rd
oec/man/network.Rd
oec/man/getdata.Rd
oec/man/sitc_colors.Rd
oec/man/install_d3plus.Rd
oec/man/hs92_6char.Rd
oec/man/hs92_2char.Rd
oec/man/oec-package.Rd
oec/man/hs92_8char.Rd
oec/LICENSE