imf_dots: Bilateral goods trade (Direction of Trade)

View source: R/databases.R

imf_dotsR Documentation

Bilateral goods trade (Direction of Trade)

Description

Goods exports or imports between a reporter and a partner economy, from the IMF IMTS data flow (the successor to Direction of Trade Statistics).

Usage

imf_dots(
  reporter,
  partner,
  flow = c("exports", "imports"),
  freq = "M",
  start = NULL,
  end = NULL
)

Arguments

reporter

ISO 3-letter code of the reporting economy. Only economies that report to the IMF appear here; many (including the UK) do not.

partner

ISO 3-letter code of the partner (counterpart) economy.

flow

"exports" (goods, FOB) or "imports" (goods, CIF), in US dollars.

freq

Frequency code ("M", "Q" or "A").

start, end

Optional first and last year to keep.

Value

An object of class imf_tbl (a data frame).

See Also

imf_data()

Examples


# US goods exports to the UK
imf_dots("USA", "GBR", flow = "exports", start = 2020)


readimf documentation built on June 15, 2026, 5:07 p.m.