Open Trade Statistics API Wrapper and Utility Program


[Up] [Top]

Documentation for package ‘tradestatistics’ version 1.0

Help Pages

ots_countries A table of official country names, ISO-3 codes and other metadata
ots_country_code String matching of official country names and ISO-3 codes according to the United Nations nomenclature
ots_create_tidy_data Downloads and processes the data from the API to return a human-readable tibble
ots_groups A table of group codes and names associated to products
ots_inflation A table with world weigthed mean inflation since 1962
ots_inflation_adjustment Expresses tidy data from the API in dollars of a reference year
ots_products A table of official product names from the Harmonized System (HS)
ots_products_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
ots_product_section String matching of official product section names and product section codes
ots_sections A table of sections codes, names and colours associated to products
ots_sections_colors A table of sections codes and hex colours associated to products
ots_sections_names A table of sections codes and official names associated to products
ots_sections_shortnames A table of sections codes and shortened names associated to products
ots_tables Available tables in the API