publicdata.au publicdata.au on GitHub

Yearly traffic counts by station, New South Wales

live
Publisher Transport for NSWUpdated irregularlyLicence CC BY 4.0Latest 2026-11-04Rows 276,877Fields 22

The Road Traffic Counts Yearly Summary table from Transport for NSW's NSW Roads Traffic Volume Counts dataset, as the publisher exports it from its traffic volume API. Each row is one station, year, traffic and cardinal direction, vehicle classification and period, with the traffic count, a partial year flag and the publisher's availability, reliability and quality indicators. The publisher's row number is kept as the key.

Also called: NSW annual average daily traffic by station, TfNSW traffic count yearly summary, NSW road traffic volumes by year.

Part of NSW Roads Traffic Volume Counts, 2 tables the publisher releases together: Traffic count stations, New South Wales.

Before you use it
What is in each row?
One station, year, direction, vehicle class and period of the week, such as weekdays or the morning (AM) peak, with the traffic count Transport for NSW reports for it and its flags for a partial year, data availability, reliability and quality.
How is the traffic count formed?
The count is the figure Transport for NSW reports for the station, year, direction, vehicle class and period named. Its documentation on the dataset page explains how counts are built. Note the partial year flag and the quality indicators before comparing stations or years.
Where is each station?
Join on the station key to the station table in this collection, which has the road, suburb and coordinates.
276,877yearly counts
2006 to 2025years drawn
22fields
7formats
4versions
010k20k30k40k2006: 10,9192007: 18,34720072008: 22,8722009: 27,8332010: 20,41320102011: 23,1322012: 31,1652013: 37,16320132014: 36,9352015: 30,2252016: 33,35220162017: 28,3352018: 29,3982019: 25,93220192020: 22,8012021: 21,1702022: 23,26120222023: 22,1422024: 21,3062025: 19,4862025
Average daily vehicles, both directions, across the stations counted in the year per year, 2006 to 2025. Rows where period is ALL DAYS and traffic direction seq is 2 and classification seq is at most 1 are drawn. 2026 is not drawn because the year was not over when the publisher released this version on 4 November 2026. The figure is an average of the traffic count column from version 2026-11-04, worked out in the build. Nothing else is added.

Made for agents

Connect your AI agent

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

Then ask it: What does Yearly traffic counts by station, New South Wales 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, Parquet and 4 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 keeps its content.

Format
"Latest" redirects to the newest version and will change when the publisher releases again. A dated version keeps its content.
https://publicdata.au/d/nsw-traffic-volume-yearly/latest/data.xlsx
Download this file

One workbook with a records sheet of 276,877 typed rows, a fields sheet and a publicdata sheet with the provenance. Dates are real Excel dates. Opens in Excel, Numbers, LibreOffice and Sheets.

JSON is not offered because the table is 153.6 MB as NDJSON, over the 50 MB limit for JSON.

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/nsw-traffic-volume-yearly/latest/ redirects to the newest version.

https://publicdata.au/d/nsw-traffic-volume-yearly/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
cartodb_idintegercartodb_id
station_keyintegerstation_key
station_idstringstation_id
traffic_direction_seqintegertraffic_direction_seq
traffic_direction_namestringtraffic_direction_name
cardinal_direction_seqintegercardinal_direction_seq
cardinal_direction_namestringcardinal_direction_name
classification_seqintegerclassification_seq
classification_typestringclassification_type
count_typestringcount_type
yearintegeryear
periodstringperiod
partial_yearbooleanpartial_year
latest_datestringlatest_date
traffic_countintegertraffic_count
data_start_datestringdata_start_date
data_end_datestringdata_end_date
data_durationintegerdata_duration
data_availabilityintegerdata_availability
data_reliabilityintegerdata_reliability
data_quality_indicatorintegerdata_quality_indicator
updated_onstringupdated_on

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

A sample of 10 rows

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

cartodb_idstation_keystation_idtraffic_direction_seqtraffic_direction_namecardinal_direction_seqcardinal_direction_nameclassification_seqclassification_typecount_typeyearperiodpartial_yearlatest_datetraffic_countdata_start_datedata_end_datedata_durationdata_availabilitydata_reliabilitydata_quality_indicatorupdated_on
99411999990014T0479-PR1PRESCRIBED1NORTH3HEAVY VEHICLESTRAFFIC COUNT2026AM PEAKfalsenull764nullnullnull010002026-02-08 09:15:01.294821+00
99423458874F3FWY0051PRESCRIBED1NORTH1ALL VEHICLESTRAFFIC COUNT2026AM PEAKfalsenull7259nullnullnull-1-102026-02-08 09:15:01.294821+00
99428499990014T0479-PR1PRESCRIBED1NORTH3HEAVY VEHICLESTRAFFIC COUNT2026WEEKDAYSfalsenull3556nullnullnull-1-102026-02-08 09:15:01.294821+00
99440699990014T0479-PR1PRESCRIBED1NORTH1ALL VEHICLESTRAFFIC COUNT2026AM PEAKfalsenull6988nullnullnull-1-102026-02-08 09:15:01.294821+00
99446499990014T0479-PR1PRESCRIBED1NORTH1ALL VEHICLESTRAFFIC COUNT2026WEEKDAYSfalsenull40259nullnullnull-1-102026-02-08 09:15:01.294821+00
10551401364831364831PRESCRIBED1NORTH3HEAVY VEHICLESTRAFFIC COUNT2026WEEKENDSfalsenull47nullnullnull-1-102026-09-02 11:26:47.302119+00
99456358874F3FWY0051PRESCRIBED1NORTH2LIGHT VEHICLESTRAFFIC COUNT2026WEEKENDSfalsenull17508nullnullnull-1-102026-02-08 09:15:01.294821+00
105522318479665T04951PRESCRIBED1NORTH1ALL VEHICLESTRAFFIC COUNT2026PM PEAKfalsenull92nullnullnull-1-102026-09-02 11:26:47.302119+00
99466058874F3FWY0051PRESCRIBED1NORTH3HEAVY VEHICLESTRAFFIC COUNT2026OFF PEAKfalsenull3139nullnullnull010002026-02-08 09:15:01.294821+00
105525674496000T05961PRESCRIBED7WEST1ALL VEHICLESTRAFFIC COUNT2026ALL DAYSfalsenull16220nullnullnull-1-102026-09-02 11:26:47.302119+00
The first row as JSON

As it appears in data.ndjson.

GET https://publicdata.au/d/nsw-traffic-volume-yearly/latest/data.ndjson
{
  "cartodb_id": 670946,
  "station_key": 55318,
  "station_id": "02015",
  "traffic_direction_seq": 2,
  "traffic_direction_name": "PRESCRIBED AND COUNTER",
  "cardinal_direction_seq": 9,
  "cardinal_direction_name": "BOTH",
  "classification_seq": 0,
  "classification_type": "UNCLASSIFIED",
  "count_type": "TRAFFIC COUNT",
  "year": 2018,
  "period": "WEEKDAYS",
  "partial_year": false,
  "latest_date": null,
  "traffic_count": 39273,
  "data_start_date": null,
  "data_end_date": null,
  "data_duration": null,
  "data_availability": -1,
  "data_reliability": -1,
  "data_quality_indicator": 0,
  "updated_on": "2018-12-14 05:33:24.64657+00"
}

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 that like and ilike ignore case in the ASCII letters A to Z. 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, ignoring case in the ASCII letters A to Z.
ilike.*text*The same as like. Both ignore case in ASCII letters only, so É and é differ.
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. When absent, rows come in the order of the file they are read from. For the newest versions that is the version's own data.parquet, which keeps the publisher's order unless the dataset sorted it. Any other version is read from the Parquet file the answer names in file, and when that file is sorted the answer names its sort in order, which ties follow too.
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 version, and that answer changes when the publisher releases again. Put versions/<date>/ before rows or aggregate for an answer from that version alone. Every version with a table can be queried, and /api/v1/datasets/<slug>/versions lists them. A query on a version the database does not hold is read from its Parquet file, and one that would read too much of it is refused with DuckDB SQL that answers it from the file. The 2 newest versions are 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. Its row tools and the query API answer every version through one query path, so a tool's answer and the query URL it cites give the same rows. A query that would read too much of a file is refused with DuckDB SQL that answers it from the file. It also has search and fetch, the two tools ChatGPT's deep research and company knowledge call by name, which run search_datasets and read a dataset's record in the shapes those features expect. 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, connect the publicdata.au plugin in ChatGPT, or give it to any client that connects to remote MCP servers. Each dataset with a table 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 year (21 files)

by/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.

  • 2026-11-04
    276,877 rows+8364 added −8364 removed 0 changed22 fieldsutf-8-sig9033e97d659d
  • 2026-10-11
    276,877 rows+832 added −832 removed 0 changed22 fieldsutf-8-sig52016d8b9f1b
  • 2026-10-04
    276,877 rows+9582 added −9567 removed 1 changed22 fieldsutf-8-sig27a429d13b43
  • 2026-09-04
    276,862 rows22 fieldsutf-8-sig9ac6aca26db7

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

Questions

How do I download Yearly traffic counts by station as a CSV file?

Open https://publicdata.au/d/nsw-traffic-volume-yearly/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/nsw-traffic-volume-yearly/v/2026-11-04/data.csv today. The same path serves Excel, Parquet, SQLite, DuckDB, NDJSON. A dated URL never changes, so use it when the file must stay the same.

Can I open Yearly traffic counts by station in Excel?

Yes. https://publicdata.au/d/nsw-traffic-volume-yearly/v/2026-11-04/data.xlsx is a workbook with the 276,877 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/nsw-traffic-volume-yearly/v/2026-11-04/data.csv.gz is the CSV at about a tenth of the size.

What years does Yearly traffic counts by station cover?

The current version covers 2006 to 2025. Each release from TfNSW becomes a new dated version here, and earlier versions stay online.

How often is Yearly traffic counts by station updated?

TfNSW releases it irregularly. This site checks the portal every week and adds a dated version when the file changes.

Can I use Yearly traffic counts by station 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 Yearly traffic counts by station?

No. The publisher is Transport for NSW, and its page is https://data.nsw.gov.au/data/dataset/2-nsw-roads-traffic-volume-counts-api. National Digital converted the publisher's file to other formats. It renamed and typed the columns and kept only those the schema lists. National Digital made these changes, and the publisher is not responsible for them. 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 year?

Every version has one JSON file per value of year, 21 files in the current version, listed with row counts at https://publicdata.au/d/nsw-traffic-volume-yearly/v/2026-11-04/by/year/index.json. For example https://publicdata.au/d/nsw-traffic-volume-yearly/v/2026-11-04/by/year/2010.json holds the 23,333 rows where year is 2010.

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.

NSW Roads Traffic Volume Counts is 2 tables here, and each takes its version date from its own file.

Attribution and citation

The licence requires the publisher's attribution. We ask that you also name publicdata.au and link to the version you used.

Transport for NSW, NSW Government, NSW Roads Traffic Volume Counts API, sourced 9 November 2026, https://data.nsw.gov.au/data/dataset/2-nsw-roads-traffic-volume-counts-api, licensed under CC BY 4.0. Serialised and versioned by National Digital at publicdata.au, https://publicdata.au/d/nsw-traffic-volume-yearly/v/2026-11-04/

The attribution alone is inside every file. Harvard is the author-date form a report or a brief asks for. Paste the HTML on a web page so the links carry.

Licence record

Transport for NSW states the licence, CC BY 4.0, on its own page, which was read and recorded here on 1 October 2026.

Every fetch reads the licence again and stops when it has changed. The fetch that made version 2026-11-04 read it from data.nsw.gov.au on 9 November 2026.

Also published on
  • Hugging Faceload_dataset("National-Digital/nsw-traffic-volume-yearly")
  • Kagglewith a starter notebook
  • ZenodoDOI 10.5281/zenodo.23123109

Each copy carries the same attribution and links back to this page.

For agents and tools

This page carries a schema.org Dataset record and is listed in /.well-known/ard.json and /catalog.json.

Source

Transport for NSW publishes this table on opendata.transport.nsw.gov.au. Questions about the content go to the publisher. Questions about the files here go to corrections.

Fetched 9 November 2026. Source SHA-256 9033e97d659d8ad3…

Improve this dataset

This page is built from register/nsw-traffic-volume-yearly.yaml on GitHub. Anyone can propose a fix to it, such as a clearer description or a field the publisher renamed, as a pull request.

Report a file that differs from the publisher's · How to contribute