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.
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")
# pip install eolas-data
from eolas_data import Client
df = Client("your_key").get("treasury_fiscal_spending", start="2020-01-01")
curl "https://api.eolas.nz/v1/datasets/treasury_fiscal_spending/data?start=2020-01-01" \
-H "X-API-Key: your_key"
No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.
| 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 |
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key_here")
df <- eolas_get("treasury_fiscal_spending")
head(df)
df <- eolas_get("treasury_fiscal_spending", start = "2020-01-01", end = "2024-12-31")
head(df)
df <- eolas_get("treasury_fiscal_spending")
write.csv(df, "treasury_fiscal_spending.csv", row.names = FALSE)
| Fiscal Year | Accounting Basis | Fiscal Year End | Financial Net Expenditure | Core Crown Expenses | Total Crown Expenses | Social Security And Welfare Gsf | Health | Education | Core Government Services | Law And Order | Defence | Transport And Communications | Economic And Industrial Services | Heritage Culture And Recreation Primary Services Housing And Community Development Environemntal Protection Other | Finance Costs | Net Foreign Exchange Gains Losses |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1972 | Cash, March Years | March | 1682.8 | 391.9 | 291.8 | 335.0 | 113.8000 | 32.2 | 118.8 | 144.4 | 43.3000 | 131.6 | 168.0 | |||
| 1973 | Cash, March Years | March | 2006.2 | 527.3 | 343.1 | 376.8 | 133.3000 | 39.8 | 128.1 | 183.1 | 68.7000 | 143.5 | 186.5 | |||
| 1974 | Cash, March Years | March | 2303.9 | 646.8 | 401.1 | 440.2 | 168.0000 | 46.3 | 138.7 | 168.7 | 75.2000 | 194.8 | 201.9 | |||
| 1975 | Cash, March Years | March | 2977.7 | 789.5 | 492.3 | 526.6 | 228.4000 | 61.0 | 163.0 | 211.2 | 145.3000 | 313.5 | 221.8 | |||
| 1976 | Cash, March Years | March | 3562.0 | 997.0 | 605.7 | 627.0 | 272.7000 | 77.8 | 188.4 | 274.8 | 228.4000 | 494.1 | 272.8 |
Showing 5 sample rows. Get an API key to access the full dataset.
No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.
Start 14-day trial