imf_cpi: Consumer prices

View source: R/databases.R

imf_cpiR Documentation

Consumer prices

Description

Consumer price index or year-on-year inflation, from the IMF CPI data flow.

Usage

imf_cpi(
  country,
  measure = c("index", "inflation"),
  freq = "M",
  start = NULL,
  end = NULL
)

Arguments

country

Character vector of ISO 3-letter country codes. Required.

measure

"index" (the all-items index) or "inflation" (year-on-year percent change).

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(), imf_ifs()

Examples


imf_cpi("GBR", measure = "inflation", start = 2015)


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