Browse data › Stats NZ › Corrections: Sentenced × Prisoner × (Calendar Year)

Corrections: Sentenced × Prisoner × (Calendar Year)

corr_sentenced_prisoner_calendar

Prison and community sentence statistics 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 ·161,670 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("corr_sentenced_prisoner_calendar", 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
1998-01-01 → 2025-01-01 · 28 dates, each averaged across breakdowns (161,670 rows)
Latest
42
min 33 max 49
Log in to download Start 14-day trial
Dataset ID
corr_sentenced_prisoner_calendar
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/corr_sentenced_prisoner_calendar/data

Columns (8)

schema glossary · auto-generated
Column Type Description
date date Observation date
period string Time period
value double Value
offence string Offence
sex string Sex
ethnicity string Ethnicity
duration string Duration
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("corr_sentenced_prisoner_calendar")
head(df)
Filter by date range
df <- eolas_get("corr_sentenced_prisoner_calendar", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("corr_sentenced_prisoner_calendar")
write.csv(df, "corr_sentenced_prisoner_calendar.csv", row.names = FALSE)

Data preview

DatePeriodValueOffenceSexEthnicityDurationAge
2025-01-0120253Unlawful entry with intent/burglary, break and enterMaleMāoriOver 1 year and up to 2 years60 or older
2025-01-01202536Offences against justice procedures, government security and government operationsMaleTotal EthnicityOver 1 year and up to 2 years40 to 49
2025-01-01202521Acts intended to cause injuryMaleUnknownTotal SentencesTotal Age
2025-01-0120253Sexual assault and related offencesMaleMāoriOver 6 months and up to 1 year50 to 59
2025-01-01202512Robbery, extortion and related offencesMaleMāoriOver 1 year and up to 2 years20 to 24

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

Related datasets

Questions about this dataset

How often is Corrections: Sentenced × Prisoner × (Calendar Year) 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=CORR_CAL_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