Browse data › Stats NZ › Population Estimates: Sub-National × Urban × Rural

Population Estimates: Sub-National × Urban × Rural

popes_sub_urban_rural

Estimated resident population by age, sex, and geography from Stats NZ (only the popes_erp_ethnic_* tables also break down by ethnic group).

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 monthly ·1,698,750 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("popes_sub_urban_rural", start = "2015-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
1996-01-01 → 2025-01-01 · 30 dates, each averaged across breakdowns (1,698,750 rows)
Latest
1,694.3
min 1,187.6 max 1,694.3
Log in to download Start 14-day trial
Dataset ID
popes_sub_urban_rural
Data source
Stats NZ
Latest observation
2025-01-01
Pipeline last ran
2026-11-24
Refresh cadence
monthly
API endpoint
https://api.eolas.nz/v1/datasets/popes_sub_urban_rural/data

Columns (6)

schema glossary · auto-generated
Column Type Description
date date Observation date
period string Time period
value double Value
sex string Sex
age string Age
area string Area

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

Data preview

DatePeriodValueSexAgeArea
2025-01-0120250.0Female60-64 yearsŌhakea
2025-01-01202555.7FemaleMedian ageMatarangi
2025-01-0120255.0Female20-24 yearsDunsandel
2025-01-012025120.0FemaleTotal people, ageHarwood
2025-01-01202530.0Female65 years and overSeddon

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

Related datasets

Questions about this dataset

How often is Population Estimates: Sub-National × Urban × Rural updated?
Stats NZ publishes it monthly. 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_009&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