Learn R Programming

tradestatistics (version 5.0.0)

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

5.0.0

License

Apache License (>= 2)

Maintainer

Mauricio Vargas

Last Published

August 23rd, 2024

Functions in tradestatistics (5.0.0)

ots_create_tidy_data_memoised

Downloads and processes the data from the API to return a human-readable tibble (memoised, internal)
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_countries

OTS Countries
ots_countries_colors

OTS Countries Colors
ots_country_code

String matching of official country names and ISO-3 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_create_tidy_data

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

OTS Commodities
tradestatistics-package

tradestatistics: Open Trade Statistics API Wrapper and Utility Program
ots_commodities_short

OTS Commodities Short
ots_read_from_api

Reads data from the API (internal function)
ots_commodity_code

String matching of official commodity/section names and Harmonized System (HS) codes according to the United Nations nomenclature
ots_sections

OTS Sections
ots_sections_colors

OTS Sections Colors
ots_tables

OTS Tables