Skip to content

tradestatistics

7.1.0Package record

Open Trade Statistics API Wrapper and Utility Program

0packages depend
3.9Kdownloads / year
62.1%test coverage
13/13flavors OK

Overview

About

Access 'Open Trade Statistics' API from R to download international trade data.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 7.1.0
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 7.1.0Citation fileNoWebsiteYes · pkgdown
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%
Vignettes (1)

Downloads

3.9K
CRAN downloads in the past year
Rank #12,065 · ~11/day · ~324/mo
Daily download trend is not available in this view yet.
31130 days
91790 days
3.9K1 year
Compare downloads with other packages →
Also on82 r2u3 autocran

Repository

82Stars
15Forks
0Open issues
0Open PRs
0Releases
243Commits
11Commit identities
rr-packagerstatsopen-trade-statisticsapi-wrapperinternational-tradedata-tablejsonlite
License file reads as Apache-2.0 · 243 commits · Last activity 2024-08-23 · 0% stars, 30d · The default branch showed an older version (5.0.0) than CRAN on 2026-10-21
Responsiveness
How these are sampled
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

2025-04-08 · 782026-07-17 · 82
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (3)
Code of conductContributing guideFunding

Funding links: buymeacoffee.com

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2020-01-21

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (11)
Author, Maintainer since 0.1 (2019), Copyright holder
Contributor · added in 3.0.2
reviewed 2021 version of the API
Contributor
contributed to different parts of the pre-release code
Contributor · added in 3.0.2
updated the functions to take available years from the API instead of hardcoded values
Contributor · added in 4.4.0
proposed improvements to default parameters
Reviewer
reviewed a previous package that evolved into the current package for rOpenSci, see…
Reviewer
reviewed a previous package that evolved into the current package for rOpenSci, see…
Reviewer
reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/274
Reviewer
reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/274
Data contributor · added in 0.2.3
Data contributor · added in 0.2
Listed in earlier versions (5)
Show 5 peopleHide 5 people
Center for International Development at Harvard University
no longer listed · 0.1 to 1.1
The Observatory of Economic Complexity
no longer listed · 0.1 to 1.1
United Nations International Trade Statistics Database
no longer listed · 0.1
no longer listed · 1.0 to 3.0.2
Natalia de los Santos
no longer listed · 1.0 to 3.0.2
Releases (15)

Pick two releases to compare their code metrics.

  • 7.1.0Latest
    record
    2026-07-21 · current release · diff ↗
  • 7.0.0
    record
    2026-07-07 · diff ↗ ·
    removed 2 exports
    ots_commodity_code, ots_gdp_deflator_adjustment
    added 2 exports
    ots_industry_code, ots_sector_code
  • R
    R 4.6.0 released · 2026-04-24
  • 6.0.0
    record
    2025-09-22 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 5.0.0
    record
    2024-08-23 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 4.5.0
    record
    2023-06-30 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 4.4.0
    record
    2022-10-04 · diff ↗ ·
    removed 1 export
    ots_inflation_adjustment
    added 1 export
    ots_gdp_deflator_adjustment
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2022-03-01
  • 3.0.2
    record
    2022-03-01 · diff ↗ ·
    removed 3 exports
    ots_cache, ots_product_code, ots_product_section
    added 1 export
    ots_commodity_code
  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2021-04-12
    policy violation on Internet access
  • unarchivedReturned to CRAN
    2020-09-18
Show 12 earlier eventsHide 12 earlier events
  • 1.1
    record
    2020-09-18 · diff ↗
  • archivedRemoved from CRAN
    2020-09-10
    policy violation On Internet access: repeated issues with remote database
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0
    record
    2020-04-03 · diff ↗ ·
    added 2 exports
    ots_cache, ots_product_section
  • 0.2.7
    record
    2019-12-05 · diff ↗
  • 0.2.5
    record
    2019-09-19 · diff ↗
  • 0.2.4
    record
    2019-09-17 · diff ↗
  • 0.2.3
    record
    2019-08-28 · diff ↗ ·
    added 1 export
    ots_inflation_adjustment
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2
    record
    2019-04-22 · diff ↗
  • 0.1
    record
    2019-04-06
  • R
    R 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")
Vargas, M., Cimentada, J., Dobbyn, A., Kravchenko, A., Kunst, J., Mendelsohn, E., Padgham, M., Riederer, E., The World Bank, , UN Comtrade, , & de los Santos, D. (2026). tradestatistics: Open Trade Statistics API Wrapper and Utility Program (Version 7.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tradestatistics version 7.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy