publicdataau publicdata.au on GitHub
Published by South Australian Housing Trust under CC BY 4.0 and republished here without change to the content. South Australian Housing Trust has not endorsed this site.An independent republication of open government data. No government agency has endorsed it. Read more

Public housing dwellings by council area, South Australia

live
Publisher South Australian Housing TrustUpdated yearlyLicence CC BY 4.0Latest 2022-06-06Rows 63Fields 14

Public housing dwellings by Local Government Area from the South Australian Housing Trust, from South Australia's contribution to the national Public Housing data collection. Each row is one council area with the number of dwellings, the publisher's rate per 10,000 residential dwellings, the numbers tenantable, untenantable and occupied, the share of tenantable dwellings occupied, the average market rent, and the dwellings by number of bedrooms and by dwelling type.

Also called: Social Housing dwellings SA, SA public housing stock by LGA, Number of Housing Trust homes by council.

Part of Public housing by council area, South Australia, 3 tables the publisher releases together: Public housing households by council area, South Australia, New households housed in public housing by council area, South Australia.

Before you use it
What is in each row?
One council area, with the publisher's counts of dwellings and their characteristics in the columns named.
What does n.p. mean?
The publisher replaces every count for a council area with n.p. where the area has one to three dwellings. Those cells are nulls here, flagged as suppressed.
Are the counts exact?
No. The publisher rounds counts to the nearest multiple of 5, so rows and columns may not add to the totals. The publisher's Total and percentage of total rows are kept as published at the end of the table, and because the percentage row holds fractions, every count column is typed as a number.
Which date does the table cover?
The newest file the publisher has released, 30 June 2021 at the first version. The files for 2019-20 stay on the portal, and each new file becomes a version here.

Made for agents

Connect your AI agent

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

Then ask it: What does Public housing dwellings by council area, South Australia 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 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.

Format
"Latest" redirects to the newest version and will change when the publisher releases again. A dated version never changes.
https://publicdata.au/d/sa-public-housing-dwellings/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/sa-public-housing-dwellings/latest/ redirects to the newest version.

https://publicdata.au/d/sa-public-housing-dwellings/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
lgastringLocal Government Area
number_of_dwellingsnumberNumber of Dwellings
rate_per_10_000_of_all_residential_dwellingsnumberRate per 10,000 of all residential dwellingsThe publisher's figure, as published.
tenantable_dwellingsnumberTenantable Dwellings
untenantable_dwellings_or_undergoing_major_redevelopmentnumberUntenantable Dwellings or undergoing major redevelopment
number_of_occupied_dwellingsnumberNumber of Occupied Dwellings
pct_of_tenantable_dwellings_that_are_occupiednumber% of Tenantable dwellings that are OccupiedThe publisher's figure, as published, written as a fraction, such as 0.96 for 96 per cent.
average_market_rent_of_dwelling_30_junenumberAverage market rent of dwelling, 30 JuneThe publisher's figure, as published.
bedrooms_1_or_2number1 or 2 bedrooms
bedrooms_3number3 bedrooms
bedrooms_4_or_morenumber4 or more bedrooms
separate_housesnumberSeparate houses
semi_detachednumberSemi-detached
flat_unit_or_apartmentnumberFlat, unit or apartment
suppressedarrayNames 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.

A sample of 10 rows

The ten council areas with the most public housing dwellings, most first. A blank cell is shown as null.

lganumber_of_dwellingsrate_per_10_000_of_all_residential_dwellingstenantable_dwellingsuntenantable_dwellings_or_undergoing_major_redevelopmentnumber_of_occupied_dwellingspct_of_tenantable_dwellings_that_are_occupiedaverage_market_rent_of_dwelling_30_junebedrooms_1_or_2bedrooms_3bedrooms_4_or_moreseparate_housessemi_detachedflat_unit_or_apartment
City of Port Adelaide Enfield4085726.03016954240107538750.966334164589286.8103743582530136020014801965645
City of Salisbury3105545.23024564330951030100.97253634895253.7943925231410151518014951045565
City of Onkaparinga3070414.46805152930551529650.9705400982255.875936177138515501351535965570
City of Playford2915724.92487168928506527150.952631578947214.237654321129014301959751420525
City of Charles Sturt2880534.18435821227909026550.951612903226282.95970823217701025855001835540
City of Marion2140509.37665336421301520050.941314553991293.214845938151557060690935515
City of Whyalla20951901.7709178620851519750.947242206235193.087267525385162095115190575
City of West Torrens1270461.61637412912304511900.967479674797280.19276160598027020300495475
City of Tea Tree Gully1250305.0055904711245012200.979919678715294.18895116167053540780345125
City of Mount Gambier1040824.649216284103559950.961352657005191.3275696452807253532563585
The first row as JSON

As it appears in data.json.

GET https://publicdata.au/d/sa-public-housing-dwellings/latest/data.json
{
  "lga": "Adelaide Hills Council",
  "number_of_dwellings": 20.0,
  "rate_per_10_000_of_all_residential_dwellings": 12.295212355082258,
  "tenantable_dwellings": 20.0,
  "untenantable_dwellings_or_undergoing_major_redevelopment": 0.0,
  "number_of_occupied_dwellings": 20.0,
  "pct_of_tenantable_dwellings_that_are_occupied": 1.0,
  "average_market_rent_of_dwelling_30_june": 294.10526315789474,
  "bedrooms_1_or_2": 0.0,
  "bedrooms_3": 20.0,
  "bedrooms_4_or_more": 0.0,
  "separate_houses": 20.0,
  "semi_detached": 0.0,
  "flat_unit_or_apartment": 0.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.

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.

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

Questions

How do I download Public housing dwellings by council area as a CSV file?

Open https://publicdata.au/d/sa-public-housing-dwellings/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/sa-public-housing-dwellings/v/2022-06-06/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 Public housing dwellings by council area in Excel?

Yes. https://publicdata.au/d/sa-public-housing-dwellings/v/2022-06-06/data.xlsx is a workbook with the 63 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/sa-public-housing-dwellings/v/2022-06-06/data.csv.gz is the CSV at about a tenth of the size.

How often is Public housing dwellings by council area updated?

SA Housing Trust releases it yearly. This site checks the portal every week and adds a dated version when the file changes.

Can I use Public housing dwellings by council area 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 Public housing dwellings by council area?

No. The publisher is South Australian Housing Trust, and its page is https://data.sa.gov.au/data/dataset/social-housing-dwellings. This site republishes the publisher's file without changing its content. The original sits beside every version as source.xlsx 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.xlsx so the change can be checked.

The publisher releases Public housing by council area, South Australia as 3 files at once, so all 3 tables here share a version date.