RDocumentation
Moon
Learn R
Search all packages and functions
tradestatistics (version 4.5.0)
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
4.5.0
License
Apache License (>= 2)
Maintainer
Mauricio Vargas
Last Published
June 29th, 2023
Functions in tradestatistics (4.5.0)
Search functions
ots_create_tidy_data_memoised
Downloads and processes the data from the API to return a human-readable tibble (memoised, internal)
ots_countries
OTS Countries
ots_commodity_code
String matching of official commodity/section names and Harmonized System (HS) codes according to the United Nations nomenclature
ots_gdp_deflator
GDP Deflator
ots_gdp_deflator_adjustment
Expresses tidy data from the API in dollars of a reference year
ots_sections
OTS Sections
ots_country_code
String matching of official country names and ISO-3 codes according to the United Nations nomenclature
ots_distances
OTS Distances
ots_countries_colors
OTS Countries Colors
ots_commodities
OTS Commodities
tradestatistics-package
tradestatistics: Open Trade Statistics API Wrapper and Utility Program
ots_create_tidy_data
Downloads and processes the data from the API to return a human-readable tibble
ots_tables
OTS Tables
ots_read_from_api
Reads data from the API (internal function)
ots_cache
Caching wrapper to reduce API calls (internal)
ots_sections_colors
OTS Sections Colors
ots_commodities_short
OTS Commodities Short
ots_create_tidy_data_unmemoised
Downloads and processes the data from the API to return a human-readable tibble (unmemoised, internal)