Learn R Programming

⚠️There's a newer version (6.0.0) of this package.Take me there.

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

Version

Install

install.packages('tradestatistics')

Monthly Downloads

336

Version

4.5.0

License

Apache License (>= 2)

Maintainer

Mauricio Vargas

Last Published

June 29th, 2023

Functions in tradestatistics (4.5.0)

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)