Young people in youth detention each day by detention centre, Queensland 2011 to 2016
liveOne row per day from 1 July 2011 to 30 June 2016, with the financial year, the date, the number of young people in youth detention that day in each detention centre group and the total in detention. The count covers young people remanded in custody or sentenced, and leaves out pre-court custody.
Also called: Brisbane and Cleveland youth detention centre numbers, Queensland youth detention centre population.
Part of Young people in youth detention each day, Queensland 2011 to 2016, 5 tables the publisher releases together: Young people in youth detention each day by age group, Queensland 2011 to 2016, Young people in youth detention each day by Indigenous status, Queensland 2011 to 2016, Young people in youth detention each day by legal status, Queensland 2011 to 2016, Young people in youth detention each day by sex, Queensland 2011 to 2016.
- What is in each row?
- Each row is one day from 1 July 2011 to 30 June 2016, with the number of young people in youth detention that day split by detention centre, and the total.
- Who is counted?
- Young people in youth detention who were remanded in custody or serving a sentenced detention order. Young people held on pre-court custody are not counted.
- Is there data after June 2016?
- The publisher has not extended these tables past 30 June 2016.
Made for agents
Connect your AI agent
Any agent that connects to publicdata.au/mcp can find this dataset, read its 5 fields, count and filter across all 1,827 rows and diff its versions. Every answer names the version and carries Youth Justice's attribution. No key.
Then ask it: What does Young people in youth detention each day by detention centre, Queensland 2011 to 2016 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.
The dashboard above, live. Click to filter, add panels, share a link or embed a frame.
Query APIFilter and count from a URLaggregate?group=financial_year&metric=avg.cleveland_ydc
Average number of young people in Cleveland Youth Detention Centre each day, by financial year: 78.6 2015-2016, 60.4 2013-2014, 59.5 2014-2015, 53.5 2012-2013.
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/qld-youth-detention-daily-by-centre/latest/ redirects to the newest version.
https://publicdata.au/d/qld-youth-detention-daily-by-centre/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/qld-youth-detention-daily-by-centre/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("qld-youth-detention-daily-by-centre")
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("qld-youth-detention-daily-by-centre")
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/qld-youth-detention-daily-by-centre/v/2024-08-22/data.duckdb' AS qld_youth_detention_daily_by_centre (READ_ONLY);
SELECT financial_year, count(*) FROM qld_youth_detention_daily_by_centre.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/qld-youth-detention-daily-by-centre/aggregate?group=financial_year&metric=avg.cleveland_ydc");
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 |
|---|---|---|---|
| financial_year | string | Financial year | |
| date | date | Date | |
| brisbane_ydc | integer | Daily number in Brisbane Youth Detention Centre | |
| cleveland_ydc | integer | Daily number in Cleveland Youth Detention Centre | |
| total | integer | Total daily number in detention |
Download this table as a data dictionary (Excel), or read it as a Frictionless Table Schema at schema.json. The key is date.
A sample of 10 rows
From the latest version, newest first by date, each financial year in turn, then in the publisher's order, with every field. A blank cell is shown as null.
| financial_year | date | brisbane_ydc | cleveland_ydc | total |
|---|---|---|---|---|
| 2015-2016 | 2016-06-30 | 86 | 67 | 153 |
| 2014-2015 | 2015-06-30 | 98 | 69 | 167 |
| 2013-2014 | 2014-06-30 | 132 | 55 | 187 |
| 2012-2013 | 2013-06-30 | 114 | 58 | 172 |
| 2011-2012 | 2012-06-30 | 100 | 59 | 159 |
| 2015-2016 | 2016-06-29 | 84 | 66 | 150 |
| 2014-2015 | 2015-06-29 | 101 | 70 | 171 |
| 2013-2014 | 2014-06-29 | 130 | 53 | 183 |
| 2012-2013 | 2013-06-29 | 115 | 56 | 171 |
| 2011-2012 | 2012-06-29 | 97 | 60 | 157 |
The first row as JSON
As it appears in data.json.
GET https://publicdata.au/d/qld-youth-detention-daily-by-centre/latest/data.json
{
"financial_year": "2011-2012",
"date": "2011-07-01",
"brisbane_ydc": 92,
"cleveland_ydc": 41,
"total": 133
}
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.
Smaller files
The same rows split by a field, one JSON file each. Each file carries the same provenance header.
By financial_year (5 files)
by/financial_year/index.json lists every file with its row count.
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.
- 2024-08-22 1,827 rows5 fieldsutf-8-sigbe356fc4f33b
versions.json · changes.json · history.tar.zst (16 KB, every version's Parquet and manifest)
Questions
How do I download Young people in youth detention each day by detention centre as a CSV file?
Open https://publicdata.au/d/qld-youth-detention-daily-by-centre/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/qld-youth-detention-daily-by-centre/v/2024-08-22/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 Young people in youth detention each day by detention centre in Excel?
Yes. https://publicdata.au/d/qld-youth-detention-daily-by-centre/v/2024-08-22/data.xlsx is a workbook with the 1,827 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/qld-youth-detention-daily-by-centre/v/2024-08-22/data.csv.gz is the CSV at about a tenth of the size.
What years does Young people in youth detention each day by detention centre cover?
The current version covers 2011 to 2015. Each release from Youth Justice becomes a new dated version here, and earlier versions stay online.
How often is Young people in youth detention each day by detention centre updated?
Youth Justice has not updated it since 2017. This site checks the portal every week and adds a dated version when the file changes.
Can I use Young people in youth detention each day by detention centre commercially?
Yes. CC BY 3.0 AU 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 Young people in youth detention each day by detention centre?
No. The publisher is Department of Youth Justice and Victim Support, and its page is https://www.data.qld.gov.au/dataset/youth-justice-young-offenders-in-youth-detention. 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.
How do I get only the rows for one financial year?
Every version has one JSON file per value of financial_year, 5 files in the current version, listed with row counts at https://publicdata.au/d/qld-youth-detention-daily-by-centre/v/2024-08-22/by/financial_year/index.json. For example https://publicdata.au/d/qld-youth-detention-daily-by-centre/v/2024-08-22/by/financial_year/2011-2012.json holds the 366 rows where financial_year is 2011-2012.
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.
The publisher releases Young people in youth detention each day, Queensland 2011 to 2016 as 5 files at once, so all 5 tables here share a version date.