Try

GFS Government Expenditures by Function

Government expenditure classified by function (COFOG) including defense, education, health, social protection, economic affairs, and public order. Data in domestic currency, percent of GDP, and percent of total outlays.

In SQL, this dataset is the rows of imf.series with dataset_code = 'gfs_cofog'.

Series

Showing 1–24 of 109,768
GFS Government Expenditures by Function · International Monetary Fund · FactIQ