ct_reporters: List Reporter Countries

View source: R/reference.R

ct_reportersR Documentation

List Reporter Countries

Description

Get the list of countries that report trade data to UN Comtrade, with their ISO3 codes and M49 numeric codes.

Usage

ct_reporters(cache = TRUE)

Arguments

cache

Logical. Cache the reference table locally. Default TRUE.

Value

A data.frame with columns:

code

M49 numeric country code (used in API queries)

iso3

ISO 3166-1 alpha-3 code (e.g., GBR, USA, AUS)

name

Country name

is_group

Logical. TRUE for country groups (e.g., EU, OECD)

Examples


op <- options(comtrade.cache_dir = tempdir())
reporters <- ct_reporters()
head(reporters)
options(op)


comtrade documentation built on April 13, 2026, 5:07 p.m.