Browse data › Stats NZ › Population Estimates: Estimated Resident Population × Ethnic × Regional Council × Statistical Area 2

Population Estimates: Estimated Resident Population × Ethnic × Regional Council × Statistical Area 2

popes_erp_ethnic_rc_sa2

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 ·6,520,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_rc_sa2", 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 (6,520,500 rows)
Latest
247.3
min 173.5 max 247.3
Log in to download Start 14-day trial
Dataset ID
popes_erp_ethnic_rc_sa2
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_rc_sa2/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_rc_sa2")
head(df)
Filter by date range
df <- eolas_get("popes_erp_ethnic_rc_sa2", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("popes_erp_ethnic_rc_sa2")
write.csv(df, "popes_erp_ethnic_rc_sa2.csv", row.names = FALSE)

Data preview

DatePeriodValueAreaAgeSexEthnic Group
2023-01-01202380.0Herne Bay70-74 yearsMaleTotal people, ethnic group
2023-01-0120235.0Greenlane Central10-14 yearsMaleMāori
2023-01-01202335.0Te Atatū Peninsula West20-24 yearsFemaleMāori
2023-01-01202338.2MuriwaiMedian ageFemaleAsian
2023-01-0120235.0Calton Hill20-24 yearsFemaleMāori

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 × Regional Council × Statistical Area 2 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_008&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