Skip to content

comexr

Client for the Brazilian Foreign Trade Statistics API ('ComexStat')

v0.2.0 · Mar 10, 2026 · MIT + file LICENSE

Description

Interface to the 'ComexStat' API <https://comexstat.mdic.gov.br/> from the Brazilian Ministry of Development, Industry, Trade and Services (MDIC). Provides access to detailed export and import data, including general trade statistics (1997-present), city-level data, historical data (1989-1996), and auxiliary tables with product codes (NCM - Nomenclatura Comum do Mercosul, NBM - Nomenclatura Brasileira de Mercadorias, HS - Harmonized System), countries, economic classifications (CGCE - Classificacao por Grandes Categorias Economicas, SITC - Standard International Trade Classification, ISIC - International Standard Industrial Classification), and other categories. Uses only 'httr2' for HTTP requests and 'cli' for console messages.

CRAN Check Status

7 OK
Show all 7 flavors
Flavor Status
r-devel-linux-x86_64-fedora-clang OK
r-devel-macos-arm64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK

Check History

OK 4 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies httr2 cli comexr

Version History

new 0.2.0 Mar 10, 2026