Browse data › Stats NZ › NZ Population Estimates

NZ Population Estimates

nz_population_estimates

Estimated resident population of New Zealand at national level, by age and sex.

Annual dataset from Stats NZ.

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

Source: Stats NZ ↗ ·Latest observation: 2025-01-01 ·Last updated: 2026-11-24 ·Updated annual ·5,292 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("nz_population_estimates", start = "2018-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.

Preview
2018-01-01 → 2025-01-01 · 8 dates, each averaged across breakdowns (5,292 rows)
Latest
36,013.5
min 28,985.1 max 98,429.9
Log in to download Start 14-day trial
Dataset ID
nz_population_estimates
Data source
Stats NZ
Latest observation
2025-01-01
Pipeline last ran
2026-11-24
Refresh cadence
annual
API endpoint
https://api.eolas.nz/v1/datasets/nz_population_estimates/data

Columns (5)

schema glossary · auto-generated
Column Type Description
date date Observation date
period string Time period
value double Value
area string Area
measure string Measure

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("nz_population_estimates")
head(df)
Filter by date range
df <- eolas_get("nz_population_estimates", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("nz_population_estimates")
write.csv(df, "nz_population_estimates.csv", row.names = FALSE)

Data preview

DatePeriodValueAreaMeasure
2025-01-0120250.0Area outside territorial authorityNatural increase
2025-01-012025100.0Clutha districtNet migration
2025-01-01202539.1Ruapehu districtMedian age
2025-01-012025350.0Porirua cityNatural increase
2025-01-012025200.0Franklin local board areaNet migration

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

Related datasets

Questions about this dataset

How often is NZ Population Estimates updated?
Stats NZ publishes it annual. eolas last refreshed it on 2026-11-24, and the latest observation is 2025-01-01.
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?
Stats NZ. eolas loads it into typed, consistently named columns. See the original at https://explore.data.stats.govt.nz/vis?df%5Bds%5D=ds-nsiws-disseminate&df%5Bid%5D=POPES_SUB_001&df%5Bag%5D=STATSNZ.

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