Browse data › Stats NZ › NZ Population by Ethnicity (National)

NZ Population by Ethnicity (National)

popes_erp_ethnic_national

Estimated resident population at national level broken down by ethnic group.

Annual dataset from Stats NZ.

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 annual ·13,176 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_national", 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 (13,176 rows)
Latest
40,607.7
min 28,496.5 max 40,607.7
Log in to download Start 14-day trial
Dataset ID
popes_erp_ethnic_national
Data source
Stats NZ
Latest observation
2023-01-01
Pipeline last ran
2026-11-16
Refresh cadence
annual
API endpoint
https://api.eolas.nz/v1/datasets/popes_erp_ethnic_national/data

Columns (6)

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

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

Data preview

DatePeriodValueEthnic GroupSexAge
2023-01-01202340.6European or Other (including New Zealander)MaleMedian age
2023-01-012023235,130.0European or Other (including New Zealander)Total people, sex60-64 years
2023-01-01202322,180.0European or Other (including New Zealander)Male10 years
2023-01-01202320,330.0European or Other (including New Zealander)Male25 years
2023-01-01202320,840.0European or Other (including New Zealander)Male36 years

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 by Ethnicity (National) updated?
Stats NZ publishes it annual. 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_005&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