Browse data › Stats NZ › Population Estimates: Estimated Resident Population × Ethnic × Urban × Rural

Population Estimates: Estimated Resident Population × Ethnic × Urban × Rural

popes_erp_ethnic_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: 2023-01-01 ·Last updated: 2026-11-16 ·Updated monthly ·2,038,500 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_erp_ethnic_urban_rural", start = "2013-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 → 2023-01-01 · 6 dates, each averaged across breakdowns (2,038,500 rows)
Latest
592
min 415 max 592
Log in to download Start 14-day trial
Dataset ID
popes_erp_ethnic_urban_rural
Data source
Stats NZ
Latest observation
2023-01-01
Pipeline last ran
2026-11-16
Refresh cadence
monthly
API endpoint
https://api.eolas.nz/v1/datasets/popes_erp_ethnic_urban_rural/data

Columns (7)

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

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

Data preview

DatePeriodValueAreaAgeSexEthnic Group
2023-01-0120230Other rural Western Bay of Plenty district85-89 yearsFemaleAsian
2023-01-01202330Other rural Horowhenua district85-89 yearsMaleTotal people, ethnic group
2023-01-0120230Kohukohu35-39 yearsMaleMiddle Eastern/Latin American/African
2023-01-0120230Ōkaihau65 years and overTotal people, sexAsian
2023-01-0120230Murupara65-69 yearsFemaleMiddle Eastern/Latin American/African

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: Estimated Resident Population × Ethnic × Urban × Rural updated?
Stats NZ publishes it monthly. eolas last refreshed it on 2026-11-16, and the latest observation is 2023-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_ERP_007&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