Browse data › NZ Treasury › NZ Government Spending

NZ Government Spending

treasury_fiscal_spending

Annual New Zealand government spending by category ($ millions), 1972–present.

Covers core Crown expenses by function including health, education, social welfare, defence, transport, and finance costs. From NZ Treasury Fiscal Time Series.

Cite as: Source: NZ Treasury (www.treasury.govt.nz), CC-BY 4.0.

Source: NZ Treasury ↗ ·Last updated: 2026-10-07 ·Updated annual (eolas refreshes monthly) ·54 rows

install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key")
df <- eolas_get("treasury_fiscal_spending", start = "2020-01-01")
Start 14-day trial Log in

No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.

Log in to download Start 14-day trial
Dataset ID
treasury_fiscal_spending
Data source
NZ Treasury
Pipeline last ran
2026-10-07
Refresh cadence
monthly
API endpoint
https://api.eolas.nz/v1/datasets/treasury_fiscal_spending/data

Columns (17)

schema glossary · auto-generated
Column Type Description
fiscal_year long Fiscal year
accounting_basis string Accounting basis
fiscal_year_end string Fiscal year end
financial_net_expenditure double Financial net expenditure
core_crown_expenses double Core crown expenses
total_crown_expenses double Total crown expenses
social_security_and_welfare_gsf double Social security and welfare gsf
health double Health
education double Education
core_government_services double Core government services
law_and_order double Law and order
defence double Defence
transport_and_communications double Transport and communications
economic_and_industrial_services double Economic and industrial services
heritage_culture_and_recreation_primary_services_housing_and_community_development_environemntal_protection_other double Heritage culture and recreation primary services housing and community development environemntal protection other
finance_costs double Finance costs
net_foreign_exchange_gains_losses double Net foreign exchange gains losses

How to query this dataset

Install the client library
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
Fetch all data
library(eolas)
eolas_key("your_key_here")
df <- eolas_get("treasury_fiscal_spending")
head(df)
Filter by date range
df <- eolas_get("treasury_fiscal_spending", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("treasury_fiscal_spending")
write.csv(df, "treasury_fiscal_spending.csv", row.names = FALSE)

Data preview

Fiscal YearAccounting BasisFiscal Year EndFinancial Net ExpenditureCore Crown ExpensesTotal Crown ExpensesSocial Security And Welfare GsfHealthEducationCore Government ServicesLaw And OrderDefenceTransport And CommunicationsEconomic And Industrial ServicesHeritage Culture And Recreation Primary Services Housing And Community Development Environemntal Protection OtherFinance CostsNet Foreign Exchange Gains Losses
1972Cash, March YearsMarch1682.8391.9291.8335.0113.800032.2118.8144.443.3000131.6168.0
1973Cash, March YearsMarch2006.2527.3343.1376.8133.300039.8128.1183.168.7000143.5186.5
1974Cash, March YearsMarch2303.9646.8401.1440.2168.000046.3138.7168.775.2000194.8201.9
1975Cash, March YearsMarch2977.7789.5492.3526.6228.400061.0163.0211.2145.3000313.5221.8
1976Cash, March YearsMarch3562.0997.0605.7627.0272.700077.8188.4274.8228.4000494.1272.8

Showing 5 sample rows. Get an API key to access the full dataset.

Related datasets

Questions about this dataset

How often is NZ Government Spending updated?
NZ Treasury publishes it annual. eolas last refreshed it on 2026-10-07.
Can I download the whole table?
Yes, on Pro and above as Parquet or CSV. During the trial you can query it through the API, up to 50,000 rows per request.
Where does the data come from?
NZ Treasury. eolas loads it into typed, consistently named columns. See the original at https://www.treasury.govt.nz.

Ready to use this data?

No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.

Start 14-day trial