Youth justice services, Report on Government Services
liveThe Productivity Commission's Report on Government Services 2026 dataset for Part F section 17, Youth justice services, one row per table line with the table number, year, measure, disaggregations by age, sex, Indigenous status, remoteness and service type, the description columns, data source and unit, and a value for each state and territory and for Australia.
Also called: RoGS youth justice, Report on Government Services Part F section 17, Youth detention statistics by state, Juvenile justice statistics Australia.
- What is in the youth justice dataset?
- Every figure in the section 17 attachment tables: expenditure on youth justice, the average daily number of young people in detention and under community-based supervision by age, sex and Indigenous status, rates per 10,000, cost per young person per day, escapes, assaults and deaths in custody, education and case plans, and completion of orders, each for every state and territory and for Australia, from 2014-15 to 2024-25.
- What is the Report on Government Services?
- The Productivity Commission's yearly report on the equity, effectiveness and efficiency of government services, compiled for the Council of Australian Governments and its successors since 1995. Each section's dataset holds every figure in the section's attachment tables in one long table, with a column for each state and territory and for Australia.
- What do np, na and .. mean?
- The Commission writes np where a figure is not published, na where it is not available and .. where it is not applicable. Not published is kept here as a null with a suppressed flag on the row; the other two are kept as plain nulls.
- Where do the figures come from?
- Each row names its data source, usually a state or territory government, the ABS or the Australian Institute of Health and Welfare, as the Commission states it. The Commission publishes the dataset under CC BY 4.0 with third party content excepted, and the source column is how that content is identified.
Made for agents
Connect your AI agent
Any agent that connects to publicdata.au/mcp can find this dataset, read its 26 fields, count and filter across all 2,443 rows and diff its versions. Every answer names the version and carries PC's attribution. No key.
Then ask it: What does Youth justice services, Report on Government Services hold, and what changed in the newest version?
claude mcp add --transport http publicdata https://publicdata.au/mcp One command. No key, no account, no sign-up.
Settings, then Connectors, then Add custom connector, and paste https://publicdata.au/mcp.
On the web and in the desktop app.
https://publicdata.au/mcp Streamable HTTP. Cursor, VS Code or any client that connects to a remote MCP server.
Using https://publicdata.au/llms.txt, how many people died on Queensland roads in 2025, by month? For an assistant that reads the web and has no connector.
A dashboard over every row. Click to filter, add panels, share a link or embed a frame.
Query APIFilter and count from a URLaggregate?group=indigenous_status&metric=sum.australia&description1=eq.Detention&description3=eq.Number%20of%20young%20people%20during%20the%20year&age=eq.Young%20people&sex=eq.All%20people&year=eq.2024-25
Young people in detention in Australia during the year by indigenous status where description 1 is Detention and description 3 is Number of young people during the year and age is Young people and sex is All people and year is 2024-25: 4,742 All people, 2,714 Aboriginal and Torres Strait Islander, 1,966 Non-Indigenous.
Download it as Excel, CSV, JSON and 6 more formats
Pick a format and a version. Excel is picked first because it opens in the tools most offices have. The URL is yours to keep. A dated version never changes.
In your own tools
Use it in Excel, R, Python and more
Excel and Power BI read the CSV from its address and refresh from it. The R and Python packages take any dataset on this site by its slug, so a new dataset needs no new release. The DuckDB file attaches read-only over HTTPS, and a query reads only the blocks it touches.
The dated URL in the code never changes. https://publicdata.au/d/rogs-youth-justice/latest/ redirects to the newest version.
https://publicdata.au/d/rogs-youth-justice/latest/data.csv In Excel choose Data, then From Web, and paste this address. Excel keeps it, so Refresh All reads the newest version. A sheet holds about a million rows; past that, load the query to the Data Model.
https://publicdata.au/d/rogs-youth-justice/latest/data.csv In Power BI Desktop choose Get data, then Web, paste this address and choose Anonymous when asked how to sign in. A scheduled refresh reads the same address, so the report follows each new version.
library(publicdataau)
df <- pd_read("rogs-youth-justice")
pd_attribution(df) install.packages("publicdataau"). pd_read() fetches the version's Parquet file; pd_rows() and pd_aggregate() ask the query API instead, and pd_connect() attaches the DuckDB file.
import publicdata_au as pd_au
df = pd_au.read("rogs-youth-justice")
df.attrs["publicdata"]["attribution"] pip install "publicdata-au[pandas]". read() fetches the version's Parquet file; rows() and aggregate() ask the query API, and connect() attaches the DuckDB file.
INSTALL httpfs; LOAD httpfs;
ATTACH 'https://publicdata.au/d/rogs-youth-justice/v/2026-01-27/data.duckdb' AS rogs_youth_justice (READ_ONLY);
SELECT table_number, count(*) FROM rogs_youth_justice.records GROUP BY 1 ORDER BY 2 DESC; The DuckDB file attaches read-only over HTTPS and only the blocks a query touches are read. Parquet works the same way: FROM read_parquet(url).
const res = await fetch("https://publicdata.au/api/v1/datasets/rogs-youth-justice/aggregate?group=indigenous_status&metric=sum.australia&description1=eq.Detention&description3=eq.Number%20of%20young%20people%20during%20the%20year&age=eq.Young%20people&sex=eq.All%20people&year=eq.2024-25");
const { rows, publicdata } = await res.json();
console.log(rows, publicdata.attribution); The query API answers a page on any site as well as Node, with no key. It returns the rows and the attribution the licence asks for.
What is in it
Column names are made snake_case and the publisher's original header is kept beside each one. Blank cells are null. Nothing is added, removed, ranked or summarised.
| Field | Type | Publisher's header | Note |
|---|---|---|---|
| table_number | string | Table_Number | |
| year | string | Year | |
| measure | string | Measure | |
| age | string | Age | |
| sex | string | Sex | |
| indigenous_status | string | Indigenous_Status | |
| remoteness | string | Remoteness | |
| service_type | string | Service_Type | |
| year_dollars | string | Year_Dollars | |
| description1 | string | Description1 | |
| description2 | string | Description2 | |
| description3 | string | Description3 | |
| description4 | string | Description4 | |
| description5 | string | Description5 | |
| description6 | string | Description6 | |
| data_source | string | Data_Source | |
| unit | string | Unit | |
| nsw | number | NSW | |
| vic | number | Vic | |
| qld | number | Qld | |
| wa | number | WA | |
| sa | number | SA | |
| tas | number | Tas | |
| act | number | ACT | |
| nt | number | NT | |
| australia | number | Aust | |
| suppressed | array | Names of the fields the publisher suppressed in this row. The cells are null. |
Download this table as a data dictionary (Excel), or read it as a Frictionless Table Schema at schema.json.
The first 10 rows
From the latest version, in the publisher's order, with every field. A blank cell is shown as null.
| table_number | year | measure | age | sex | indigenous_status | remoteness | service_type | year_dollars | description1 | description2 | description3 | description4 | description5 | description6 | data_source | unit | nsw | vic | qld | wa | sa | tas | act | nt | australia |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 17A.1 | 2024-25 | Under supervision | 10-17 years old | All people | All people | All areas | Detention-based supervision | null | null | Average daily number of young people | Detention | null | null | null | AIHW (unpublished) Youth Justice National Minimum Dataset | no. | 184 | 74 | 290 | 74 | 38 | 14 | 17 | 42 | 734 |
| 17A.1 | 2024-25 | Under supervision | 10-17 years old | All people | All people | All areas | Community-based supervision | null | null | Average daily number of young people | Community-based supervision | null | null | null | AIHW (unpublished) Youth Justice National Minimum Dataset | no. | 739 | 229 | 860 | 368 | 169 | 96 | 47 | null | 2509 |
| 17A.1 | 2024-25 | Under supervision | 10-17 years old | All people | All people | All areas | null | null | null | Average daily number of young people | Total | null | null | null | AIHW (unpublished) Youth Justice National Minimum Dataset | no. | 918 | 300 | 1142 | 438 | 205 | 110 | 64 | null | 3177 |
| 17A.1 | 2024-25 | Under supervision | 10-17 years old | All people | All people | All areas | Detention-based supervision | null | null | Rate (per 10000 young people) | Detention | null | null | null | Derived from AIHW (unpublished) Youth Justice National Minimum Dataset; ABS National state and territory population - D… | rate | 2.2 | 1.1 | 5 | 2.5 | 2.1 | 2.6 | 5 | 15.4 | 2.7 |
| 17A.1 | 2024-25 | Under supervision | 10-17 years old | All people | All people | All areas | Community-based supervision | null | null | Rate (per 10000 young people) | Community-based supervision | null | null | null | Derived from AIHW (unpublished) Youth Justice National Minimum Dataset; ABS National state and territory population - D… | rate | 8.9 | 3.4 | 14.8 | 12.3 | 9.5 | 17.8 | 14 | null | 9.4 |
| 17A.1 | 2024-25 | Under supervision | 10-17 years old | All people | All people | All areas | null | null | null | Rate (per 10000 young people) | Total | null | null | null | Derived from AIHW (unpublished) Youth Justice National Minimum Dataset; ABS National state and territory population - D… | rate | 11 | 4.5 | 19.6 | 14.6 | 11.5 | 20.4 | 18.8 | null | 11.9 |
| 17A.1 | 2023-24 | Under supervision | 10-17 years old | All people | All people | All areas | Detention-based supervision | null | null | Average daily number of young people | Detention | null | null | null | AIHW (unpublished) Youth Justice National Minimum Dataset | no. | 176 | 54 | 293 | 85 | 31 | 16 | 13 | 44 | 711 |
| 17A.1 | 2023-24 | Under supervision | 10-17 years old | All people | All people | All areas | Community-based supervision | null | null | Average daily number of young people | Community-based supervision | null | null | null | AIHW (unpublished) Youth Justice National Minimum Dataset | no. | 723 | 217 | 896 | 429 | 215 | 79 | 54 | null | 2613 |
| 17A.1 | 2023-24 | Under supervision | 10-17 years old | All people | All people | All areas | null | null | null | Average daily number of young people | Total | null | null | null | AIHW (unpublished) Youth Justice National Minimum Dataset | no. | 894 | 268 | 1181 | 511 | 243 | 94 | 67 | null | 3257 |
| 17A.1 | 2023-24 | Under supervision | 10-17 years old | All people | All people | All areas | Detention-based supervision | null | null | Rate (per 10000 young people) | Detention | null | null | null | Derived from AIHW (unpublished) Youth Justice National Minimum Dataset; ABS National state and territory population - D… | rate | 2.1 | 0.8 | 5.1 | 2.9 | 1.7 | 2.9 | 3.9 | 21.9 | 2.7 |
The first row as JSON
As it appears in data.json.
GET https://publicdata.au/d/rogs-youth-justice/latest/data.json
{
"table_number": "17A.1",
"year": "2024-25",
"measure": "Under supervision",
"age": "10-17 years old",
"sex": "All people",
"indigenous_status": "All people",
"remoteness": "All areas",
"service_type": "Detention-based supervision",
"year_dollars": null,
"description1": null,
"description2": "Average daily number of young people",
"description3": "Detention",
"description4": null,
"description5": null,
"description6": null,
"data_source": "AIHW (unpublished) Youth Justice National Minimum Dataset",
"unit": "no.",
"nsw": 184.0,
"vic": 74.0,
"qld": 290.0,
"wa": 74.0,
"sa": 38.0,
"tas": 14.0,
"act": 17.0,
"nt": 42.0,
"australia": 734.0,
"suppressed": []
}
Query it without downloading
The query API returns only the rows you ask for, as JSON, NDJSON or CSV, from the same typed rows as the files. It needs no key. Build a query here and run it, then copy the URL or the code into your own work.
How filters work
Each filter is field=operator.value in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive except with ilike. Prefix not. to negate a filter, as not.eq.value.
| Operator | What it matches |
|---|---|
| eq.value | Equal to the value. |
| neq.value | Not equal to the value. A blank cell does not match. |
| gt.value | Greater than the value. |
| gte.value | Greater than or equal to the value. |
| lt.value | Less than the value. |
| lte.value | Less than or equal to the value. |
| like.*text* | Matches a pattern where * stands for any run of characters. Case-sensitive. |
| ilike.*text* | The same as like, ignoring case. |
| in.(a,b,c) | Equal to any value in the list. A value cannot contain a comma. |
| is.null | Blank in the source, or suppressed by the publisher. |
| Parameter | What it does |
|---|---|
| select | Fields to return, comma-separated. Every field when absent. |
| order | field.asc or field.desc, comma-separated. The publisher's row order when absent. |
| limit | Rows per page, 1 to 10,000. 100 when absent. |
| offset | Rows to skip. The next URL in each answer sets it for you. |
| group | On aggregate, fields to group by, comma-separated. |
| metric | On aggregate, count, sum.field, avg.field, min.field or max.field, comma-separated. count when absent. |
| format | json, ndjson or csv. JSON carries the provenance header, and the others carry it in response headers. |
Without a version the API answers from the newest loaded version, and that answer changes when the publisher releases again. Put versions/<date>/ before rows or aggregate for an answer that never changes. /api/v1/datasets/<slug>/versions lists the loaded versions. The 1 newest version is loaded; versions lists them.
The API allows 60 requests in 10 seconds from one address. Above that it answers 429 for 10 seconds with a Retry-After header, a RateLimit-Policy header and a JSON body that gives the limit. Every API answer carries the same RateLimit-Policy. A client should wait the Retry-After seconds, or read the files, which have no limit. openapi.json describes this dataset's query paths for client generators and agents.
https://publicdata.au/mcp is a remote MCP server over Streamable HTTP with the same tools, defined in the same place, so a tool added to the pages is added here too. It needs no key and no account. The row tools are held to the query API's limit of 60 queries in 10 seconds from one address, and each call is two queries because it also counts the matching rows. Add it to Claude Code with claude mcp add --transport http publicdata https://publicdata.au/mcp, add the URL in Claude as a custom connector, or give it to any client that connects to remote MCP servers. Each queryable dataset is also a resource at https://publicdata.au/d/<slug>/fields.json, which lists its fields with their types, the publisher's descriptions, their ranges and the values they hold, so an agent can read a dataset's shape before it writes a query.
What changed
One version for every release the publisher has made since this site started following the dataset. The date is the day the file changed on the portal.
- 2026-01-27 2,443 rows26 fieldsutf-8-sig8a811f13e021
versions.json · changes.json · history.tar.zst (58 KB, every version's Parquet and manifest)
Questions
How do I download Youth justice services as a CSV file?
Open https://publicdata.au/d/rogs-youth-justice/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/rogs-youth-justice/v/2026-01-27/data.csv today. The same path serves Excel, JSON, Parquet, SQLite, DuckDB, NDJSON, Arrow. A dated URL never changes, so use it when the file must stay the same.
Can I open Youth justice services in Excel?
Yes. https://publicdata.au/d/rogs-youth-justice/v/2026-01-27/data.xlsx is a workbook with the 2,443 rows on a records sheet, the field list on a second sheet and the provenance on a third. The CSV also opens in Excel. https://publicdata.au/d/rogs-youth-justice/v/2026-01-27/data.csv.gz is the CSV at about a tenth of the size.
What years does Youth justice services cover?
The current version covers the years since 2014. Each release from PC becomes a new dated version here, and earlier versions stay online.
How often is Youth justice services updated?
PC releases it yearly. This site checks the portal every week and adds a dated version when the file changes.
Can I use Youth justice services commercially?
Yes. CC BY 4.0 allows commercial use, redistribution and derived works as long as the attribution is kept. The attribution string is in this page's side column and inside every file.
Is this the official source for Youth justice services?
No. The publisher is Productivity Commission, and its page is https://www.pc.gov.au/copyright. This site republishes the publisher's file without changing its content. The original sits beside every version as source.csv with its SHA-256, so the two can be compared.
What this site did to the data. Cells were typed, headers were renamed and the encoding was made UTF-8. Rows were left alone. The publisher's file sits beside every version as source.csv so the change can be checked.