Learn R Programming

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

tradestatistics (version 0.2)

Open Trade Statistics API Wrapper and Utility Program

Description

Access 'Open Trade Statistics' API from R to download international trade data.

Copy Link

Version

Install

install.packages('tradestatistics')

Monthly Downloads

239

Version

0.2

License

GPL-3

Maintainer

Mauricio S

Last Published

April 21st, 2019

Functions in tradestatistics (0.2)

ots_attributes_countries

A table of official country names, ISO-3 codes and other metadata
ots_attributes_communities

A table of communities codes, names and colours associated to products
ots_country_code

String matching of official country names and ISO-3 codes according to the United Nations nomenclature
ots_attributes_product_shortnames

A table of unofficial shortened product names
ots_product_code

String matching of official product names and Harmonized System (HS) codes according to the United Nations nomenclature
tradestatistics-package

tradestatistics: Open Trade Statistics API Wrapper and Utility Program
ots_attributes_products

A table of official product names, Harmonized System (HS) codes and corresponding groups
ots_attributes_tables

Available tables in the API
ots_create_tidy_data

Downloads and processes the data from the API to return a human-readable tibble
ots_read_from_api

Reads data from the API (internal function)