RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (4.5.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
Copy
Link to current version
Version
Version
4.5.0
4.4.0
3.0.2
1.1
1.0
0.2.7
0.2.5
0.2.4
0.2.3
0.2
0.1
Down Chevron
Install
install.packages('tradestatistics')
Monthly Downloads
362
Version
0.2
License
GPL-3
Maintainer
Mauricio S
Last Published
April 21st, 2019
Functions in tradestatistics (0.2)
Search functions
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)