The following packages are available for the convenience of users. These packages are not part of the UN Comtrade offerings. Please contact the original developer for any questions and support.
Python package: comtradeapicall #
As an alternative to calling the APIs directly, the Python package comtradeapicall can be utilized to extract data.
As an open-source project, it’s provided for users’ convenience and is available at the Python Package Index: https://pypi.org/project/comtradeapicall/.
Instructions and examples are available at the project site in PyPi and at GitHub https://github.com/uncomtrade/comtradeapicall.
R package: comtradeR #
An API wrapper for UN Comtrade in R is available at: https://github.com/ropensci/comtradr.
This has been reviewed by the rOpenSci organization and is now also available on official CRAN mirrors.