publicdataau publicdata.au on GitHub
Published by Department of Transport and Main Roads under CC BY 3.0 AU and republished here without change to the content. Department of Transport and Main Roads has not endorsed this site.An independent republication of open government data. No government agency has endorsed it. Read more

Regional urban bus patronage by operator, Queensland

live
Publisher Department of Transport and Main RoadsUpdated annually, last updated for 2022/23Licence CC BY 3.0 AULatest 2023-11-20Rows 18Fields 15

One row per regional urban bus contract area and operator in Queensland outside South East Queensland, with the latitude and longitude of the town and the number of passenger trips in each financial year from 2012/13 to 2022/23. Each financial year is its own column, as the publisher lays it out.

The publisher's notes file on the same page records part-year figures and operator changes.

Also called: Regional Urban Bus Patronage by region and operator, Queensland regional bus passenger numbers, Cairns, Toowoomba and Townsville bus patronage.

Before you use it
What is in each row?
Each row is one regional bus contract area outside South East Queensland and its operator, with a point for the town and the number of passenger trips in each financial year from 2012/13 to 2022/23.
Is there a breakdown by route?
The publisher also gives one file per contract area with patronage by route. Those files are on the same portal page and are not part of this table.
Why does a year look low for some areas?
The publisher's notes record part-year figures and operator changes for some areas, such as a contract that ended or a ticketing problem. Read the Regional Bus Patronage Notes file on the portal page before comparing years.
18 contract areas drawn in 17 cells of 0.05 degrees, the fullest with 2.
Contract areas counted in cells of 0.05 degrees. State outlines from the ABS Australian Statistical Geography Standard 2021, CC BY 4.0.
18contract areas
15fields
12formats
1version

Made for agents

Connect your AI agent

Any agent that connects to publicdata.au/mcp can find this dataset, read its 15 fields, count and filter across all 18 rows and diff its versions. Every answer names the version and carries Transport and Main Roads's attribution. No key.

Then ask it: What does Regional urban bus patronage by operator, Queensland 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.

Download it as Excel, CSV, JSON and 9 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.

Format
"Latest" redirects to the newest version and will change when the publisher releases again. A dated version never changes.
https://publicdata.au/d/qld-regional-bus-patronage/latest/data.xlsx
Download

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-regional-bus-patronage/latest/ redirects to the newest version.

https://publicdata.au/d/qld-regional-bus-patronage/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.

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.

FieldTypePublisher's headerNote
regionstringRegion
operatorstringOperator
latitudenumberLatitude
longitudenumberLongitude
trips_2012_13integer2012/13
trips_2013_14integer2013/14
trips_2014_15integer2014/15
trips_2015_16integer2015/16
trips_2016_17integer2016/17
trips_2017_18integer2017/18
trips_2018_19integer2018/19
trips_2019_20integer2019/20
trips_2020_21integer2020/21
trips_2021_22integer2021/22
trips_2022_23integer2022/23

Download this table as a data dictionary (Excel), or read it as a Frictionless Table Schema at schema.json. The key is region, operator.

The first 10 rows

From the latest version, in the publisher's order, with every field. A blank cell is shown as null.

regionoperatorlatitudelongitudetrips_2012_13trips_2013_14trips_2014_15trips_2015_16trips_2016_17trips_2017_18trips_2018_19trips_2019_20trips_2020_21trips_2021_22trips_2022_23
Airline Beach & ProserpineWhitsunday Transit-20.2694109148.718164322151278790238302227437209380222158211196178949148853168529260617
BowenBowen Transit-20.012125148.246290111393790312703121881439914788111669559951686418039
CairnsKinetic-16.9206657145.772185434721363498599341919734068523292316308161830589572753101228034821365462720667
BundabergDuffy's-24.8653253152.3516785529758698080645261650380648321646301642887552951527701482005475694
BundabergStewart & Sons-24.8653253152.3516785426514209909189078910820875027003722567247050
GladstoneCDC Queensland-23.8431724151.256132142900427798415707393561371216393992404432339863328948303487286478
Sunshine Coast HinterlandGlasshouse County Coaches-26.7585572152.85311695289055028486154945665095626455708457175557363831545247
InnisfailTransNorth-17.5241721146.03114186054748533311693778939241333673880581070142098114685115921
MackayMackay Transit-21.141956149.1865149579116582226588590573655547074529307526286456805419749404803400503
North Stradbroke IslandStradbroke Island Buses-27.5647329153.4487382123708162394157116175346191046216115215076200590191333165797223452
The first row as JSON

As it appears in data.json.

GET https://publicdata.au/d/qld-regional-bus-patronage/latest/data.json
{
  "region": "Airline Beach & Proserpine",
  "operator": "Whitsunday Transit",
  "latitude": -20.2694109,
  "longitude": 148.718164,
  "trips_2012_13": 322151,
  "trips_2013_14": 278790,
  "trips_2014_15": 238302,
  "trips_2015_16": 227437,
  "trips_2016_17": 209380,
  "trips_2017_18": 222158,
  "trips_2018_19": 211196,
  "trips_2019_20": 178949,
  "trips_2020_21": 148853,
  "trips_2021_22": 168529,
  "trips_2022_23": 260617
}

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.

Try rows or aggregate for this dataset. The query builder needs JavaScript.

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.

OperatorWhat it matches
eq.valueEqual to the value.
neq.valueNot equal to the value. A blank cell does not match.
gt.valueGreater than the value.
gte.valueGreater than or equal to the value.
lt.valueLess than the value.
lte.valueLess 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.nullBlank in the source, or suppressed by the publisher.
ParameterWhat it does
selectFields to return, comma-separated. Every field when absent.
orderfield.asc or field.desc, comma-separated. The publisher's row order when absent.
limitRows per page, 1 to 10,000. 100 when absent.
offsetRows to skip. The next URL in each answer sets it for you.
groupOn aggregate, fields to group by, comma-separated.
metricOn aggregate, count, sum.field, avg.field, min.field or max.field, comma-separated. count when absent.
formatjson, 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.

  • 2023-11-20
    18 rows15 fieldsutf-8-sigc424cc4a6527

versions.json · changes.json · history.tar.zst (6.0 KB, every version's Parquet and manifest)

Questions

How do I download Regional urban bus patronage by operator as a CSV file?

Open https://publicdata.au/d/qld-regional-bus-patronage/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/qld-regional-bus-patronage/v/2023-11-20/data.csv today. The same path serves Excel, JSON, GeoJSON, Parquet, SQLite, DuckDB, GeoPackage, GeoParquet, NDJSON, Arrow. A dated URL never changes, so use it when the file must stay the same.

Can I open Regional urban bus patronage by operator in Excel?

Yes. https://publicdata.au/d/qld-regional-bus-patronage/v/2023-11-20/data.xlsx is a workbook with the 18 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-regional-bus-patronage/v/2023-11-20/data.csv.gz is the CSV at about a tenth of the size.

What years does Regional urban bus patronage by operator cover?

The current version covers the years since 2012. Each release from Transport and Main Roads becomes a new dated version here, and earlier versions stay online.

How often is Regional urban bus patronage by operator updated?

Transport and Main Roads releases it annually, last updated for 2022/23. This site checks the portal every week and adds a dated version when the file changes.

Can I use Regional urban bus patronage by operator 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 Regional urban bus patronage by operator?

No. The publisher is Department of Transport and Main Roads, and its page is https://www.data.qld.gov.au/dataset/qconnect-urban-bus-patronage. 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 coordinate system does Regional urban bus patronage by operator use?

The publisher names no datum. The coordinates are decimal degrees for the town, read as WGS84 (EPSG:4326) and published as given. The GeoJSON file uses the same coordinates, which is what GeoJSON expects.

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.