Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (6.0.0) of this package.
Take me there.
tradestatistics (version 3.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
Link to current version
Version
Version
6.0.0
5.0.0
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
Install
install.packages('tradestatistics')
Monthly Downloads
353
Version
3.0.2
License
Apache License (>= 2)
Maintainer
Mauricio Vargas
Last Published
March 1st, 2022
Functions in tradestatistics (3.0.2)
Search all functions
ots_inflation
A table with world weigthed mean inflation since 2000
ots_commodity_code
String matching of official commodity/group names and Harmonized System (HS) codes according to the United Nations nomenclature
ots_create_tidy_data_memoised
Downloads and processes the data from the API to return a human-readable tibble (memoised, internal)
ots_create_tidy_data
Downloads and processes the data from the API to return a human-readable tibble
ots_commodities
A table of official commodity names from the Harmonized System rev 2007 (HS07, also known as H3)
ots_tables
Available tables in the API
ots_inflation_adjustment
Expresses tidy data from the API in dollars of a reference year
ots_countries
A table of official country names, ISO-3 codes and other metadata
tradestatistics-package
tradestatistics: Open Trade Statistics API Wrapper and Utility Program
ots_sections_colors
A table of official section names from the Harmonized System rev 2007 (HS07, also known as H3) and unofficial colors to ease visualization
ots_read_from_api
Reads data from the API (internal function)
ots_cache
Caching wrapper to reduce API calls (internal)
ots_create_tidy_data_unmemoised
Downloads and processes the data from the API to return a human-readable tibble (unmemoised, internal)
ots_country_code
String matching of official country names and ISO-3 codes according to the United Nations nomenclature