imf_gfs: Government finance statistics

View source: R/databases.R

imf_gfsR Documentation

Government finance statistics

Description

General government revenue or expenditure, from the IMF GFS_SOO data flow (Government Finance Statistics, Statement of Operations).

Usage

imf_gfs(
  country,
  indicator = c("revenue", "expenditure"),
  measure = c("xdc", "pct_gdp"),
  sector = "S13",
  freq = "A",
  start = NULL,
  end = NULL
)

Arguments

country

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

indicator

"revenue" or "expenditure".

measure

"xdc" (domestic currency) or "pct_gdp" (percent of GDP).

sector

Institutional sector; "S13" (general government) by default, or "S1311" (central government).

freq

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

start, end

Optional first and last year to keep.

Value

An object of class imf_tbl (a data frame).

See Also

imf_data()

Examples


imf_gfs("GBR", indicator = "revenue", measure = "pct_gdp")


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