ct_available: Check Data Availability

View source: R/reference.R

ct_availableR Documentation

Check Data Availability

Description

Check which years and classifications have data available for a given reporter country.

Usage

ct_available(reporter, cache = TRUE)

Arguments

reporter

Character. Reporter country ISO3 code.

cache

Logical. Cache results. Default TRUE.

Value

A data.frame with columns: year, classification, type (C/S), frequency (A/M).

Examples


op <- options(comtrade.cache_dir = tempdir())
ct_available("GBR")
options(op)


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