Open Trade Statistics API Wrapper and Utility Program
Overview
Access 'Open Trade Statistics' API from R to download international trade data.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 13 (5 internal)includes a package overview page
- Examples that run
- 75%3 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Basic usage HTML
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
14 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/ropensci/tradestatistics on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2020-01-21
Show all practicesHide 4 practices
Dependencies
Installing tradestatistics adds 17 packages (12 with compiled code, 12 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, jsonlite 1.0 MB.
Code & Tests
Datasets
People & History
Show 5 peopleHide 5 people
Pick two releases to compare their code metrics.
- 7.1.0Latest
- 7.0.02026-07-07 · diff ↗ ·
removed 2 exports
ots_commodity_code, ots_gdp_deflator_adjustmentadded 2 exports
ots_industry_code, ots_sector_code - RR 4.6.0 released · 2026-04-24
- 6.0.02025-09-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 5.0.02024-08-23 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 4.5.02023-06-30 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 4.4.02022-10-04 · diff ↗ ·
removed 1 export
ots_inflation_adjustmentadded 1 export
ots_gdp_deflator_adjustment - RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2022-03-01
- 3.0.22022-03-01 · diff ↗ ·
removed 3 exports
ots_cache, ots_product_code, ots_product_sectionadded 1 export
ots_commodity_code - RR 4.1.0 released · 2021-05-18
- archivedRemoved from CRAN2021-04-12policy violation on Internet access
- unarchivedReturned to CRAN2020-09-18
Show 12 earlier eventsHide 12 earlier events
- 1.12020-09-18 · diff ↗
- archivedRemoved from CRAN2020-09-10policy violation On Internet access: repeated issues with remote database
- RR 4.0.0 released · 2020-04-24
- 1.0
- 0.2.72019-12-05 · diff ↗
- 0.2.52019-09-19 · diff ↗
- 0.2.42019-09-17 · diff ↗
- 0.2.3
- RR 3.6.0 released · 2019-04-26
- 0.22019-04-22 · diff ↗
- 0.12019-04-06
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-06
- Total releases
- 15 / 7 yrs
- License
- Apache License (>= 2) · relicensed from GPL-3 in 3.0.2
- Minimum R
- ≥ 2.10
- Bundled data
- 7.6 KB / 4 files
- Download size
- 37 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tradestatistics")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.