Government expenditure by COFOG function, % of GDP (annual)
Annual general government expenditure by function of government (COFOG), as a percentage of GDP, for EU member states, EFTA countries, EU candidates and EU/euro-area aggregates. Eurostat dataset gov_10a_exp ('General government expenditure by function (COFOG)', ESA 2010). Each row is one (year, country, function): the ten first-level COFOG divisions GF01-GF10 — general public services, defence, public order and safety, economic affairs, environmental protection, housing and community amenities, health, recreation/culture/religion, education, social protection — with the TOTAL aggregate and second-level subdivisions excluded so nothing is double counted. Method: Eurostat compiles national accounts transmitted by EU member states under ESA 2010, sector general government (S13), indicator TE (total general government expenditure); non-EU/EFTA/candidate countries are dropped (same licensing rule as the other Eurostat datasets). Units: percent of GDP. Caveats: coverage starts 1990 but most series begin in the 1990s-2000s; the EU27_2020, EA20, EA19 and other aggregates are included as published; the latest year is provisional and revised. Coverage: ~40 geographic units, 1990 to the present, annual. Provenance: Eurostat keyless JSON-stat API, free reuse with attribution (Commission Decision 2011/833/EU) - please cite Eurostat. Primary key: (year, country_code, function). Join keys: country_code (ISO 3166-1 alpha-3), year. Cadence: refreshed yearly; Eurostat updates the dataset in July. Sample use: filter function='GF02' and country_code='FRA' to track French defence spending as a share of GDP.
- Source
- Eurostat
- Rows
- 9,480
- Columns
- 6
- Source cadence
- Yearly
- Last refreshed
- Sep 23, 2026
- Theme
- government
| Column | Type | Description |
|---|---|---|
| year | string | Reference year of the observation (stored as January 1), from the 'time' dimension. |
| country_code | string | Reporting country: ISO 3166-1 alpha-3 (mapped from Eurostat's alpha-2 codes). Also carries the provider aggregates 'EU27_2020', 'EA21', 'EA20' and 'EA19' verbatim. |
| country_name | string | Canonical English country name (hub.normalize), or the Eurostat-published label for the EU/EA aggregates. |
| function | string | COFOG 1999 first-level division from the 'cofog99' dimension: GF01 (general public services), GF02 (defence), GF03 (public order and safety), GF04 (economic affairs), GF05 (environmental protection), GF06 (housing and community amenities), GF07 (health), GF08 (recreation, culture and religion), GF09 (education), GF10 (social protection). |
| function_label | string | Eurostat-published COFOG division label, verbatim from the API. |
| value_pct_gdp | float | Observed total general government expenditure for the COFOG function, as a percentage of GDP, from the 'na_item' indicator TE and the 'unit' indicator PC_GDP. (unit: percent of GDP) |
First 10 sample rows — a preview, not the complete dataset.
| year | country_code | country_name | function | function_label | value_pct_gdp |
|---|---|---|---|---|---|
| 1995-01-01 | AUT | Austria | GF01 | General public services | 9.3 |
| 1996-01-01 | AUT | Austria | GF01 | General public services | 9.5 |
| 1997-01-01 | AUT | Austria | GF01 | General public services | 8.7 |
| 1998-01-01 | AUT | Austria | GF01 | General public services | 8.6 |
| 1999-01-01 | AUT | Austria | GF01 | General public services | 8.5 |
| 2000-01-01 | AUT | Austria | GF01 | General public services | 8.3 |
| 2001-01-01 | AUT | Austria | GF01 | General public services | 8.7 |
| 2002-01-01 | AUT | Austria | GF01 | General public services | 8.3 |
| 2003-01-01 | AUT | Austria | GF01 | General public services | 7.9 |
| 2004-01-01 | AUT | Austria | GF01 | General public services | 7.7 |
- Current
20260923T135433Z-34c2e164cb29 · sha256 34c2e164cb29…
9,480 rows · first snapshot
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).
curl "https://datazimuts.com/v1/datasets/eurostat/eurostat_govt_expenditure_cofog_ratios_annual" | jq '{title, rows, columns_count, license}'import requests
ds = requests.get("https://datazimuts.com/v1/datasets/eurostat/eurostat_govt_expenditure_cofog_ratios_annual").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)API endpoint: https://datazimuts.com/v1/datasets/eurostat/eurostat_govt_expenditure_cofog_ratios_annual
Tip: fetch /llms.txt for the full machine-readable catalog.
Where this data comes from and what was made from it. Other people's work shows as counts; only shared projects are named.
Cite this snapshot
Pinned to snapshot 20260923T135433Z-34c2e164cb29 and its content hash, so readers get exactly the data you used.
Eurostat. (2026). Government expenditure by COFOG function, % of GDP (annual) [Data set, snapshot 20260923T135433Z-34c2e164cb29, sha256 34c2e164cb29]. Datazimuts. Retrieved 2026-09-23, from https://datazimuts.com/en/datasets/eurostat/eurostat_govt_expenditure_cofog_ratios_annual?snapshot=20260923T135433Z-34c2e164cb29
@misc{dz_eurostat_eurostat_govt_expenditure_cofog_34c2e164,
title = {{Government expenditure by COFOG function, \% of GDP (annual)}},
author = {{Eurostat}},
year = {2026},
publisher = {Datazimuts},
howpublished = {\url{https://datazimuts.com/en/datasets/eurostat/eurostat_govt_expenditure_cofog_ratios_annual?snapshot=20260923T135433Z-34c2e164cb29}},
note = {Snapshot 20260923T135433Z-34c2e164cb29, sha256 34c2e164cb29b761d0271efd0e2b28f4fd64b8c27c54ead31b259f5c83a7f736; accessed 2026-09-23}
}Embed a table or a chart
Paste this into any page. The embed is pinned to the same snapshot, follows the reader's light or dark setting, and always shows the source, license and a link back.
<iframe src="https://datazimuts.com/embed/chart?dataset=eurostat%2Feurostat_govt_expenditure_cofog_ratios_annual&lang=en&theme=auto&snapshot=20260923T135433Z-34c2e164cb29&x=year&y=value_pct_gdp&agg=avg" title="Government expenditure by COFOG function, % of GDP (annual)" width="100%" height="380" style="border:0" loading="lazy"></iframe>
Ask about this dataset. Answers come only from its catalog record, measured profile and change history, and list the facts they used.