dwelldelta-mcp 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/area-rents-tool.mjs +15 -1
- package/cover-tool.mjs +2 -2
- package/definitions.json +36 -0
- package/definitions.mjs +29 -0
- package/output-schemas.mjs +24 -4
- package/package.json +3 -1
- package/place-tool.mjs +19 -3
- package/register-tools.mjs +60 -18
- package/sale-prices-tool.mjs +3 -1
- package/tools.mjs +50 -3
- package/vendor/act-rents-interim.json +10 -10
- package/vendor/indicators.json +38 -38
- package/vendor/nt-rents-interim.json +12 -12
- package/vendor/rent-check.mjs +4 -3
- package/vendor/rents-index.json +25 -17
- package/vendor/tas-rents-interim.json +11 -11
- package/vendor/vic-rents.json +3 -1
- package/vendor/wa-rents.json +13 -3
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Seven read-only tools, and one that adds the user's own rent when they ask:
|
|
|
12
12
|
|---|---|
|
|
13
13
|
| `rent_check` | a weekly rent, and any proposed new rent, against the ABS rents index for the capital city since the current rent began (`rent_since`, the last rise) or, without it, since the lease began (`lease_start`) (the same arithmetic as the rent check at tools.dwelldelta.com.au); or, given a `place` instead of either month, against that place's median of new bonds or leases, and its quartiles where published (from 0.12.0) |
|
|
14
14
|
| `property_rents` | the rents of a place asked with no state - a suburb, locality or postcode - answered from the state that holds it (NSW, Victoria, Queensland, WA, SA or, from 0.16.0, Tasmania); an NSW or Tasmanian suburb is answered for its postcode, and a name held in more than one state is listed, not chosen (from 0.12.0). From 0.14.0 also a New Zealand council or region (MBIE's bonds for one month, in NZ$, provisional) and an ACT, NT or Tasmanian postcode (interim ABS cover: the rent paid at the 2021 Census, the capital's rents index, sale prices - not new-bond medians; for Tasmania from 0.16.0 only a postcode its bond medians give no figure for) |
|
|
15
|
-
| `market_indicators` | the latest RBA cash rate, unemployment, wage growth, rents for all eight capitals, NSW lending, lending standards and arrears, approvals and completions - each with period, source, licence and limits; filter by `geography` |
|
|
15
|
+
| `market_indicators` | the latest RBA cash rate (left out when DwellDelta holds no RBA cash rate figure from the 45 days before the snapshot's weekly build, or when the published figure fails DwellDelta's text check; `data_sources` says why, under Cannot answer, only in the first case), unemployment, wage growth, rents for all eight capitals, NSW lending, lending standards and arrears, approvals and completions - each with period, source, licence and limits; filter by `geography` |
|
|
16
16
|
| `vic_rents` | Victorian rents by suburb group from Homes Victoria's Rental Report: the median weekly rent of new leases, the lease count and the change on a year before, for 146 suburb groups and 13 regions; filter by `suburb_group` or `region` (from 0.5.0) |
|
|
17
17
|
| `area_rents` | median weekly rent of new bonds, all dwellings together, with the bond count and the change on a year before, for one state per call: NSW by postcode or council (NSW Department of Communities and Justice), Queensland by suburb or council (Residential Tenancies Authority), WA by locality (calculated by DwellDelta from the Government of Western Australia's bond records), SA by suburb (SA Housing Trust, Private Rent Report; its publisher's page states no licence, and the national catalogues list CC BY), Tasmania by postcode (calculated by DwellDelta from the Department of Justice's bond records, private housing, one month at a time; CC BY 4.0 as read on data.gov.au by DwellDelta's owner in a browser); each file states CC BY 4.0 (from 0.6.0; SA from 0.11.0; Tasmania from 0.16.0) |
|
|
18
18
|
| `nsw_sale_prices` | NSW median sale prices by postcode or council from the NSW Department of Communities and Justice's Rent and Sales Report (CC BY 4.0): the median, the quartiles, the number of sales and the change on a year before, each for all dwellings, houses (non-strata) and units and town houses (strata). Medians of homes sold - never what any one home sold for; a line set by a few very large sales or by many sales at one identical price is marked UNUSUAL (from 0.7.0), and is not a going price |
|
|
@@ -198,6 +198,38 @@ copy city by city (each city's series starts no later and ends no earlier than i
|
|
|
198
198
|
later than the current one; otherwise, or with `DWELLDELTA_OFFLINE=1`, the bundled copy answers.
|
|
199
199
|
`data_as_of` and the `Cite:` line's period say which month the answer runs to.
|
|
200
200
|
|
|
201
|
+
### Indicators left out: `indicators_left_out` (from 0.18.0)
|
|
202
|
+
|
|
203
|
+
- `market_indicators` returns `indicators_left_out`: one `{id, reason}` for each indicator the answer would hold but
|
|
204
|
+
does not, and `[]` when nothing is left out. Today the only `id` it can hold is `cash_rate`, and only when
|
|
205
|
+
`geography` is absent or Australia. `reason` is always a sentence starting with the indicator's name: the
|
|
206
|
+
snapshot's own `cannot_answer` entry when it has one, otherwise DwellDelta's own (rows failed its text check, or
|
|
207
|
+
no reason is given). Each reason ends with where the RBA publishes the rate and a sentence against quoting one
|
|
208
|
+
from memory. `reason` is for showing to a person; its wording can change in any release, so branch on `id`, never
|
|
209
|
+
on `reason`. The text gives the same reasons under `Left out:`, before the `Cite:` line.
|
|
210
|
+
- tools/list: an output schema that accepts any extra keys no longer writes `"additionalProperties":{}`. Leaving the
|
|
211
|
+
key out accepts exactly the same values. This made room for the above under the 32,000-character cap. tools/list
|
|
212
|
+
is 31,411 characters over stdio, 28,456 hosted.
|
|
213
|
+
|
|
214
|
+
### `bedrooms` as a number, and what rent_check needs (from 0.17.2)
|
|
215
|
+
|
|
216
|
+
- `bedrooms` on area_rents, property_rents and rent_check is read from a whole number as well as from text: 2
|
|
217
|
+
answers exactly as "2" does. A fraction, a number below 0 or any other kind of value is refused, and the refusal
|
|
218
|
+
names the forms that are read. rent_check places a rent against one group, so with `place` and `bedrooms` it needs
|
|
219
|
+
`dwelling_type` too, as before; in the city-wide check it says that `bedrooms` was not used.
|
|
220
|
+
- rent_check's description says what it needs: `current_rent`, and either `place` or `city` with a month
|
|
221
|
+
(`rent_since`, else `lease_start`). Its refusals say which of the two is missing, and name `rent_since` before
|
|
222
|
+
`lease_start`.
|
|
223
|
+
- A place is read only from `place`. When rent_check or property_rents is left without one, the refusal says that a
|
|
224
|
+
place under any other key (`suburb`, `postcode`, `locality`, `area`) is not read; a postcode sent as a number is
|
|
225
|
+
refused with the words to send it as text.
|
|
226
|
+
- An area_rents or nsw_sale_prices answer given with neither `area` nor `council` opens with "No area or council was
|
|
227
|
+
given, so these are the whole state's figures. A place is read only from area or council." (WA, SA and TAS: "No
|
|
228
|
+
area was given, so these are the whole state's figures. A place is read only from area.") The line comes first,
|
|
229
|
+
above any line that opens "STALE:". Its structuredContent is unchanged.
|
|
230
|
+
- Each tool's published inputSchema is unchanged, byte for byte: tools/list is 31,950 characters over stdio, 28,969
|
|
231
|
+
hosted.
|
|
232
|
+
|
|
201
233
|
### rent_check from the month the current rent began: `rent_since` (from 0.17.0)
|
|
202
234
|
|
|
203
235
|
- `rent_since` is a new, optional input: the month the current rent began - the last rent rise, or the lease start
|
package/area-rents-tool.mjs
CHANGED
|
@@ -433,8 +433,10 @@ export function areaRentsResult({ state, area, council, dwelling_type, bedrooms,
|
|
|
433
433
|
calculated: calculatedByUs(state, feed), several: res.structured.figures.filter((f) => !f.refusal).length > 1 });
|
|
434
434
|
if (councils.length) cite.pages = places.filter((p) => p.url).map((p) => ({ place: p.name, url: p.url }));
|
|
435
435
|
const note = resolved?.note ?? null;
|
|
436
|
+
// whole (SITE-237, F2a): the registered handler reads it to open a whole-state answer with a line saying so. It is
|
|
437
|
+
// beside text and structured, never in structuredContent (ok() passes on text and structured alone).
|
|
436
438
|
return { text: withPlace(res.text, { note, ...cite }, FOOTER),
|
|
437
|
-
structured: { ...res.structured, place_note: note, ...cite } };
|
|
439
|
+
structured: { ...res.structured, place_note: note, ...cite }, whole };
|
|
438
440
|
};
|
|
439
441
|
if (wantsByType({ dwelling_type, bedrooms })) {
|
|
440
442
|
return finish(byTypeResult({ state, info, feed, dwelling_type, bedrooms, whole, areas, councils, file: byType[state],
|
|
@@ -621,6 +623,18 @@ function bedroomsAsked(wanted) {
|
|
|
621
623
|
return m ? { n: Number(m[1]), orMore: Boolean(m[2]) } : null;
|
|
622
624
|
}
|
|
623
625
|
|
|
626
|
+
/**
|
|
627
|
+
* bedrooms sent as a number (SITE-237, F1). The hosted logs held most rent tool calls refused, and `bedrooms: 2` was
|
|
628
|
+
* one reproduced cause: the field is text, and the schema refused the number before any handler ran. A whole number
|
|
629
|
+
* of 0 or more is read as its text ("2"), which every tool then answers exactly as it answers "2"; anything else is
|
|
630
|
+
* returned unchanged, for the schema to refuse in BEDROOMS_REFUSAL's words. Used by area_rents, property_rents and
|
|
631
|
+
* rent_check through z.preprocess, so tools/list declares the same JSON Schema as before. Never touches a string.
|
|
632
|
+
*/
|
|
633
|
+
export const readBedrooms = (v) => (typeof v === "number" && Number.isInteger(v) && v >= 0 ? String(v) : v);
|
|
634
|
+
export const BEDROOMS_REFUSAL = "bedrooms is a number of bedrooms: a whole number such as 2, or text such as \"2\", " +
|
|
635
|
+
"\"2 bedrooms\" or \"studio\". A fraction, a number below 0 or any other kind of value is not read: give a whole " +
|
|
636
|
+
"number, or leave bedrooms out for every size.";
|
|
637
|
+
|
|
624
638
|
/** NSW: which of DCJ's dwelling types and sizes were asked for (null = every one), as DCJ labels them. */
|
|
625
639
|
function nswAsked(file, dwelling_type, bedrooms) {
|
|
626
640
|
const cells = file.state_total.breakdown;
|
package/cover-tool.mjs
CHANGED
|
@@ -32,6 +32,7 @@ import { envelope, ToolError, FOOTER, FETCH_TIMEOUT_MS, feedSource, citeLine, is
|
|
|
32
32
|
warnPublished, fromCopy, CADENCE, staleNote, flagged } from "./tools.mjs";
|
|
33
33
|
import { SITE, slug } from "./pages.mjs";
|
|
34
34
|
import { checkFetched } from "./feed-text.mjs";
|
|
35
|
+
import { word } from "./definitions.mjs";
|
|
35
36
|
|
|
36
37
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
37
38
|
// DWELLDELTA_LIVE_DIR: a test run on the owner's PC names an empty folder, so a file refused in the store cannot redden it.
|
|
@@ -366,8 +367,7 @@ export function interimResult(state, feed, postcode = null, now = new Date(), {
|
|
|
366
367
|
"",
|
|
367
368
|
censusLine,
|
|
368
369
|
...flags.filter((f) => !/^Too few households/.test(f)).map((f) => ` ${f}`),
|
|
369
|
-
`${cpi.city}'s rents index (ABS CPI: the change in rents paid
|
|
370
|
-
"private and public housing, net of Rent Assistance; not a rent): " +
|
|
370
|
+
`${cpi.city}'s rents index (ABS CPI: the change in rents paid ${word("rents_index.leases")}; not a rent): ` +
|
|
371
371
|
`${signed(cpi.year_change_pct)} from ${cpi.year_change_period}, ${signed(cpi.change_since_first_month_pct)} from ` +
|
|
372
372
|
`${cpi.change_since_first_month_period}.${only}`,
|
|
373
373
|
priceHeading,
|
package/definitions.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"about": [
|
|
3
|
+
"DwellDelta's definitional wording: each clause that says what a measure is, written once. Code that publishes a clause reads it from this file through mcp/definitions.mjs. A page or module that cannot import keeps a literal copy, and tests/definitions.test.mjs fails while that copy differs from the clause's text.",
|
|
4
|
+
"This file wins over any copy of it. A copy is refreshed from this file, never edited by hand.",
|
|
5
|
+
"A key says what a measure is. It is not a licence to place it: each place that uses a key needs its own support for saying it there.",
|
|
6
|
+
"Each key has text, the current wording, and earlier, a list of { text, replaced, accept_until }. Code and literal copies must equal text. A published feed may hold text, or an earlier text. replaced and accept_until are UTC dates (YYYY-MM-DD), and accept_until is at most 28 days after replaced. After accept_until, a feed that still holds the earlier text is named in the Monday drift check.",
|
|
7
|
+
"ORDER, to correct a definition:",
|
|
8
|
+
"1. In this repository, set the new text, move the old text to earlier with its replaced and accept_until dates, and edit each literal copy that tests/definitions.test.mjs names. Then run node mcp/scripts/vendor.mjs, so the MCP package's copy of the rent check follows.",
|
|
9
|
+
"2. In DwellDelta's data repository, refresh its copy of this file from this repository's main branch, so the builders write the new words.",
|
|
10
|
+
"3. The next Monday republishes the words.",
|
|
11
|
+
"4. Drop the earlier entry only once every published feed holds the new text.",
|
|
12
|
+
"A correction is done when tests/definitions.test.mjs and the Monday drift check are both green."
|
|
13
|
+
],
|
|
14
|
+
"definitions": {
|
|
15
|
+
"rents_index.follows": {
|
|
16
|
+
"text": "what tenants pay across new and continuing leases",
|
|
17
|
+
"earlier": []
|
|
18
|
+
},
|
|
19
|
+
"rents_index.leases": {
|
|
20
|
+
"text": "on new and continuing leases, private and public housing",
|
|
21
|
+
"earlier": []
|
|
22
|
+
},
|
|
23
|
+
"bond_median.not": {
|
|
24
|
+
"text": "not advertised rents, and not what sitting tenants pay",
|
|
25
|
+
"earlier": []
|
|
26
|
+
},
|
|
27
|
+
"whose.split": {
|
|
28
|
+
"text": "Some figures are the publisher's own and some are calculated by DwellDelta from the publisher's figures",
|
|
29
|
+
"earlier": []
|
|
30
|
+
},
|
|
31
|
+
"whose.calculated": {
|
|
32
|
+
"text": "calculated by DwellDelta from the publisher's figures",
|
|
33
|
+
"earlier": []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
package/definitions.mjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DwellDelta's definitional wording, read from definitions.json beside this file (SITE-222). Each clause that says what
|
|
3
|
+
* a measure is is written once there; the code that publishes it imports it from here.
|
|
4
|
+
*
|
|
5
|
+
* The file is read with new URL("./definitions.json", import.meta.url), never a path joined from a folder name: the
|
|
6
|
+
* npm package's test (tests/mcp-vendor.test.mjs) and the hosted build (infra/mcp-remote/build.py) find what a module
|
|
7
|
+
* reads by that form alone, and tests/definitions.test.mjs refuses any other. This module imports only node: builtins.
|
|
8
|
+
*/
|
|
9
|
+
import { readFileSync } from "node:fs";
|
|
10
|
+
|
|
11
|
+
const FILE = JSON.parse(readFileSync(new URL("./definitions.json", import.meta.url), "utf8"));
|
|
12
|
+
|
|
13
|
+
const freeze = (o) => {
|
|
14
|
+
for (const v of Object.values(o)) if (v && typeof v === "object") freeze(v);
|
|
15
|
+
return Object.freeze(o);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** The whole file, frozen: { about, definitions: { key: { text, earlier: [{ text, replaced, accept_until }] } } }. */
|
|
19
|
+
export const DEFINITIONS = freeze(FILE);
|
|
20
|
+
|
|
21
|
+
/** A key's current text. An unknown key throws, so a mistyped key can never publish "undefined". */
|
|
22
|
+
export function word(key) {
|
|
23
|
+
const d = Object.hasOwn(DEFINITIONS.definitions, key) ? DEFINITIONS.definitions[key] : null;
|
|
24
|
+
if (!d) throw new Error(`mcp/definitions.json has no key ${JSON.stringify(key)}`);
|
|
25
|
+
return d.text;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** The first character upper-cased, the rest unchanged ("DwellDelta" stays "DwellDelta"). */
|
|
29
|
+
export const cap = (s) => s.slice(0, 1).toUpperCase() + s.slice(1);
|
package/output-schemas.mjs
CHANGED
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
* - The SDK checks every successful result against its tool's schema before answering, and a client checks it again
|
|
10
10
|
* on arrival. A result that does not fit is not answered: the call fails. So a schema here must never be
|
|
11
11
|
* narrower than what the tools return - a newer published file included.
|
|
12
|
-
* - Every object allows keys it does not name
|
|
13
|
-
*
|
|
12
|
+
* - Every object allows keys it does not name, so an added field never fails a call. The advertised schemas leave
|
|
13
|
+
* objects open by omitting the additionalProperties key (SITE-247): JSON Schema reads a missing
|
|
14
|
+
* additionalProperties exactly as {}, which zod would otherwise write on every object (37 copies on stdio, 962
|
|
15
|
+
* characters). obj and open below do it by zod metadata, at the source; the server still keeps unknown keys when
|
|
16
|
+
* it checks a result. The rule: every object here, and any method that returns a new object schema (extend, pick,
|
|
17
|
+
* omit, partial, required, safeExtend - only extend is used today), goes through obj or open. Such a method
|
|
18
|
+
* clones the schema without its metadata, so the clone would write {} again: the same meaning, more characters,
|
|
19
|
+
* and mcp/test's canary names it. Only keys the code always writes, with a value the code makes, are required and typed. Every field copied from a
|
|
14
20
|
* data file - a string, a number, a boolean, an object or a list alike - may be missing, null or of any other
|
|
15
21
|
* type (fromFile below): the loaders check only a few fields of a file, the code passes the rest through as the
|
|
16
22
|
* file gives them, and a newer file that drops, nulls or retypes any one of them must still be answered. The
|
|
@@ -28,7 +34,13 @@ import { z } from "zod";
|
|
|
28
34
|
const str = z.string();
|
|
29
35
|
const nstr = z.string().nullable();
|
|
30
36
|
const nnum = z.number().nullable();
|
|
31
|
-
|
|
37
|
+
/**
|
|
38
|
+
* An object schema that keeps keys it does not name and, in tools/list, says so by leaving additionalProperties out
|
|
39
|
+
* (SITE-247): zod's JSON Schema output drops a key set to undefined, so the {} that z.looseObject writes is not sent.
|
|
40
|
+
* open() alone is for an object schema a method has made (refusal.extend below). Exported for the canary in mcp/test.
|
|
41
|
+
*/
|
|
42
|
+
export const open = (s) => s.meta({ additionalProperties: undefined });
|
|
43
|
+
export const obj = (shape) => open(z.looseObject(shape));
|
|
32
44
|
const opt = (s) => s.optional();
|
|
33
45
|
/**
|
|
34
46
|
* A field copied from a data file: it may be missing, null or of another type than today's file gives it (s), and is
|
|
@@ -118,7 +130,7 @@ const figure = obj({
|
|
|
118
130
|
/** The fields every figure-giving answer adds (figureFields in tools.mjs), and its publisher's small-sample rule. */
|
|
119
131
|
const figures = {
|
|
120
132
|
figures: z.array(figure),
|
|
121
|
-
refusals: z.array(refusal.extend({ name: str })),
|
|
133
|
+
refusals: z.array(open(refusal.extend({ name: str }))),
|
|
122
134
|
all_refused: z.boolean(),
|
|
123
135
|
sample_rule: obj({ unit: str, min_n: nnum, rule: str }),
|
|
124
136
|
};
|
|
@@ -196,6 +208,14 @@ export const OUTPUT_SCHEMAS = {
|
|
|
196
208
|
change: fromFile(obj({ value: fromFile(z.number()), unit: fromFile(str), over: fromFile(str) })),
|
|
197
209
|
licence_id: nstr, source_url: nstr, sample_size: z.null(),
|
|
198
210
|
})),
|
|
211
|
+
// New in 0.18.0 (SITE-247; tools.mjs indicatorsLeftOut): one { id, reason } for each indicator the answer would
|
|
212
|
+
// hold but does not, [] when nothing is left out - today only cash_rate, when geography is absent or Australia.
|
|
213
|
+
// reason is a sentence for a person, starting with the indicator's name; its words can change in any release, so
|
|
214
|
+
// id is the field to branch on. Not published_rows_left_out (feed-text.mjs checkFields), which counts the rows
|
|
215
|
+
// of the published file that its text check dropped, whatever they were. The hosted modern leg's own
|
|
216
|
+
// outputSchemaJson and toolInputSchemaJson (SDK v2: projectCallToolResult, SEP-2243's checks) are converted from
|
|
217
|
+
// these same schemas and are not changed in meaning by this field or by obj.
|
|
218
|
+
indicators_left_out: z.array(obj({ id: str, reason: str })),
|
|
199
219
|
sample_size: z.null(),
|
|
200
220
|
sample_size_note: str,
|
|
201
221
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dwelldelta-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Australian rents by area for six states, New Zealand rents by council and region and interim ABS cover for the ACT and NT, asked by place with no state, a rent placed against its local median, NSW median sale prices, an ABS rents index check, and sourced property and lending indicators, for AI agents.",
|
|
5
5
|
"mcpName": "au.com.dwelldelta/dwelldelta",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
"place-tool.mjs",
|
|
32
32
|
"cover-tool.mjs",
|
|
33
33
|
"feed-text.mjs",
|
|
34
|
+
"definitions.mjs",
|
|
35
|
+
"definitions.json",
|
|
34
36
|
"vendor/",
|
|
35
37
|
"LICENSE",
|
|
36
38
|
"README.md"
|
package/place-tool.mjs
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import { z } from "zod";
|
|
26
26
|
import { isRecord, ToolError } from "./tools.mjs";
|
|
27
27
|
import { areaRentsResult, STATES, norm, wantsByType, dollars, spellings, nswSeveralPostcodes, medianOf, tasPostcodes,
|
|
28
|
-
titled } from "./area-rents-tool.mjs";
|
|
28
|
+
titled, readBedrooms, BEDROOMS_REFUSAL } from "./area-rents-tool.mjs";
|
|
29
29
|
import { vicRentsResult } from "./vic-rents-tool.mjs";
|
|
30
30
|
import { OUTPUT_SCHEMAS } from "./output-schemas.mjs";
|
|
31
31
|
import { rentPage } from "./pages.mjs";
|
|
@@ -633,6 +633,21 @@ export async function rentCheckLocal({ place, current_rent, proposed_rent, dwell
|
|
|
633
633
|
export const PLACE_INSTRUCTIONS = "property_rents takes a place with no state - a suburb, locality or postcode - and " +
|
|
634
634
|
"answers from the state that holds it; a name held in more than one state is listed, not chosen.";
|
|
635
635
|
|
|
636
|
+
/**
|
|
637
|
+
* A place is read only from place (SITE-237, F2). The SDK drops every argument a tool does not declare before its
|
|
638
|
+
* handler runs, so a place sent as suburb, postcode, locality or area never reaches it: the refusals say so, and what
|
|
639
|
+
* to send. Not in tools/list (a field's error is not listed). Exported for rent_check's refusals (register-tools.mjs),
|
|
640
|
+
* so the two tools keep one vocabulary.
|
|
641
|
+
*/
|
|
642
|
+
export const ONLY_PLACE = "Only place is read: a place under any other key (suburb, postcode, locality, area) is not.";
|
|
643
|
+
export const QUOTED_POSTCODE = " Send a postcode in quotes (\"2150\"), not as the number 2150.";
|
|
644
|
+
/** property_rents' place refusal: missing (or null), a number, or any other kind of value. */
|
|
645
|
+
export const PLACE_REFUSAL = (issue) => (issue.input == null
|
|
646
|
+
? "property_rents needs place: a suburb, locality, postcode or NZ council, as text (\"Parramatta\", \"2150\", " +
|
|
647
|
+
`"Richmond, VIC"). ${ONLY_PLACE}`
|
|
648
|
+
: "place is text: a suburb, locality, postcode or NZ council, as \"Parramatta\", \"2150\" or \"Richmond, VIC\"." +
|
|
649
|
+
(typeof issue.input === "number" ? QUOTED_POSTCODE : ""));
|
|
650
|
+
|
|
636
651
|
/**
|
|
637
652
|
* Registers property_rents on an McpServer. Called by registerReadOnlyTools (register-tools.mjs) from 0.12.0, so the
|
|
638
653
|
* stdio and hosted servers list it.
|
|
@@ -649,9 +664,10 @@ export function registerPlaceTools(server, data, { byType = async () => ({}), ho
|
|
|
649
664
|
"rent, the capital's rents index and sale prices, each with its period and flags. A name held in more than one " +
|
|
650
665
|
"place is listed, not chosen. For questions such as \"median rent in Fremantle\".",
|
|
651
666
|
inputSchema: {
|
|
652
|
-
place
|
|
667
|
+
// place's and bedrooms' errors and bedrooms' reader (SITE-237) are not listed: tools/list is as before, byte for byte.
|
|
668
|
+
place: z.string({ error: PLACE_REFUSAL }).describe("A suburb, locality, postcode or NZ council; a state may follow (\"Richmond, VIC\")"),
|
|
653
669
|
dwelling_type: z.string().optional().describe("As area_rents (NSW and QLD only)"),
|
|
654
|
-
bedrooms: z.string().optional().describe("As area_rents (NSW and QLD only)"),
|
|
670
|
+
bedrooms: z.preprocess(readBedrooms, z.string({ error: BEDROOMS_REFUSAL })).optional().describe("As area_rents (NSW and QLD only)"),
|
|
655
671
|
},
|
|
656
672
|
outputSchema: OUTPUT_SCHEMAS.property_rents,
|
|
657
673
|
annotations: readOnly,
|
package/register-tools.mjs
CHANGED
|
@@ -14,15 +14,17 @@
|
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import {
|
|
16
16
|
rentCheckResult, marketIndicatorsResult, dataSourcesResult, loadJson, loadSnapshot, loadRentsIndex, ToolError,
|
|
17
|
-
RENTS_PATH, INDICATORS_PATH,
|
|
17
|
+
RENTS_PATH, INDICATORS_PATH, CASH_STALE_DAYS,
|
|
18
18
|
} from "./tools.mjs";
|
|
19
19
|
import { loadVicRents, vicRentsResult } from "./vic-rents-tool.mjs";
|
|
20
|
-
import { loadAllAreaRents, loadAllRentsByType, wantsByType, areaRentsResult, STATES
|
|
20
|
+
import { loadAllAreaRents, loadAllRentsByType, wantsByType, areaRentsResult, STATES, readBedrooms, BEDROOMS_REFUSAL }
|
|
21
|
+
from "./area-rents-tool.mjs";
|
|
21
22
|
import { loadNswSales, salePricesResult, DWELLING_TYPES } from "./sale-prices-tool.mjs";
|
|
22
23
|
import { OUTPUT_SCHEMAS } from "./output-schemas.mjs";
|
|
23
|
-
import { rentCheckLocal, registerPlaceTools, PLACE_INSTRUCTIONS } from "./place-tool.mjs";
|
|
24
|
+
import { rentCheckLocal, registerPlaceTools, PLACE_INSTRUCTIONS, ONLY_PLACE, QUOTED_POSTCODE } from "./place-tool.mjs";
|
|
24
25
|
import { loadCoverFeeds } from "./cover-tool.mjs";
|
|
25
26
|
import { logField } from "./feed-text.mjs";
|
|
27
|
+
import { word } from "./definitions.mjs";
|
|
26
28
|
|
|
27
29
|
/** The tools registered here, in the order a client lists them. contribute_rent is not one of them. */
|
|
28
30
|
export const READ_ONLY_TOOLS = ["rent_check", "market_indicators", "data_sources", "vic_rents", "area_rents", "nsw_sale_prices",
|
|
@@ -189,6 +191,29 @@ export const RENT_SINCE_REFUSAL = monthRefusal("rent_since", "the month the curr
|
|
|
189
191
|
const ignoring = (res, keys, why) => (keys.length ? { text: `Not used: ${keys.join(", ")} (${why}).\n${res.text}`,
|
|
190
192
|
structured: { ...res.structured, ignored: keys } } : res);
|
|
191
193
|
|
|
194
|
+
/**
|
|
195
|
+
* A whole-state answer opens by saying so (SITE-237, F2a). area_rents and nsw_sale_prices answer for the whole state
|
|
196
|
+
* when neither area nor council is given - also when an agent sends its place under a key they do not read (suburb,
|
|
197
|
+
* postcode), which the SDK drops before the handler runs. The result function says whether it answered for the whole
|
|
198
|
+
* state (its own whole, one rule); this puts the line first, above any STALE line, and leaves structuredContent as it
|
|
199
|
+
* is. Applied inside guard, so a refusal never gains it. The form is chosen from a fixed set of the states that hold
|
|
200
|
+
* councils (nsw_sale_prices is NSW), never from the data: in WA, SA and TAS a council is refused.
|
|
201
|
+
*/
|
|
202
|
+
const COUNCIL_STATES = new Set(["NSW", "QLD"]);
|
|
203
|
+
const wholeState = (state, res) => (res.whole ? {
|
|
204
|
+
text: `${COUNCIL_STATES.has(state)
|
|
205
|
+
? "No area or council was given, so these are the whole state's figures. A place is read only from area or council."
|
|
206
|
+
: "No area was given, so these are the whole state's figures. A place is read only from area."}\n${res.text}`,
|
|
207
|
+
structured: res.structured } : res);
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* rent_check's place refusal (SITE-237, F2): a number, null, or any other kind of value. No NZ council: rent_check
|
|
211
|
+
* places no rent against an NZ figure.
|
|
212
|
+
*/
|
|
213
|
+
export const RENT_CHECK_PLACE_REFUSAL = (issue) => "place is text: a suburb, locality or postcode, as \"Parramatta\" " +
|
|
214
|
+
"or \"2150\"." + (typeof issue.input === "number" ? QUOTED_POSTCODE
|
|
215
|
+
: issue.input === null ? " To give no place, leave place out: null is not read." : "");
|
|
216
|
+
|
|
192
217
|
/**
|
|
193
218
|
* Every feed the seven tools answer from, loaded the way the stdio server has loaded them since 0.8.0 and in the same
|
|
194
219
|
* order: the published copy where it is well formed and not older than the bundled one, else the bundled copy
|
|
@@ -287,10 +312,12 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
287
312
|
|
|
288
313
|
server.registerTool("rent_check", titled({
|
|
289
314
|
title: "Australian rent check",
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
"
|
|
315
|
+
// SITE-237 (F3): says what the tool needs, and frees 31 characters of tools/list. No top-level anyOf: some clients
|
|
316
|
+
// refuse one (mcp/test/rent-check-needs.test.mjs).
|
|
317
|
+
description: "Compares current_rent with how the ABS rents index for city has moved since a month (rent_since, else " +
|
|
318
|
+
"lease_start): city-wide, not suburb-level. Without a month, with place's median of new bonds (NSW, VIC, QLD, " +
|
|
319
|
+
"WA, SA or TAS), and its quartiles where published. Needs place, or city and a month. Information, not advice, " +
|
|
320
|
+
"with the months compared, the source and the limits.",
|
|
294
321
|
inputSchema: {
|
|
295
322
|
// Each is read through z.preprocess (readCity, readMonth, readRent above): tools/list still declares the
|
|
296
323
|
// canonical form, byte for byte (current_rent's description sits inside, where it keeps its place in the JSON
|
|
@@ -300,9 +327,10 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
300
327
|
rent_since: z.preprocess(readMonth, z.string({ error: RENT_SINCE_REFUSAL }).regex(/^\d{4}-(0[1-9]|1[0-2])$/, { error: RENT_SINCE_REFUSAL })).optional().describe("Month current rent began (last rise, else lease start), YYYY-MM"),
|
|
301
328
|
current_rent: z.preprocess(readRent, z.number({ error: rentRefusal("current_rent") }).positive({ error: rentRefusal("current_rent") }).describe("Current weekly rent in Australian dollars")),
|
|
302
329
|
proposed_rent: z.preprocess(readRent, z.number({ error: rentRefusal("proposed_rent") }).positive({ error: rentRefusal("proposed_rent") })).optional().describe("Proposed weekly rent in Australian dollars"),
|
|
303
|
-
place
|
|
330
|
+
// place's error and bedrooms' reader (SITE-237) are not listed: each field lists as before, byte for byte.
|
|
331
|
+
place: z.string({ error: RENT_CHECK_PLACE_REFUSAL }).optional().describe("Without either month: a suburb, locality or postcode; a state may follow (\"Richmond, VIC\")"),
|
|
304
332
|
dwelling_type: z.string().optional().describe("With place: as area_rents (NSW and QLD only)"),
|
|
305
|
-
bedrooms: z.string().optional().describe("With place: as area_rents (NSW and QLD only)"),
|
|
333
|
+
bedrooms: z.preprocess(readBedrooms, z.string({ error: BEDROOMS_REFUSAL })).optional().describe("With place: as area_rents (NSW and QLD only)"),
|
|
306
334
|
},
|
|
307
335
|
outputSchema: OUTPUT_SCHEMAS.rent_check,
|
|
308
336
|
annotations: readOnly,
|
|
@@ -323,9 +351,19 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
323
351
|
`with ${given}, the rent is compared with the city's ABS rents index; leave ${given} out for the place's ` +
|
|
324
352
|
"median of new bonds");
|
|
325
353
|
}
|
|
354
|
+
// Neither month, and no place (SITE-237, F3): with city, the month is what is missing; without it, place - and a
|
|
355
|
+
// place under another key never reaches here (the SDK drops it), so the refusal says so.
|
|
356
|
+
if ((args.place == null || !String(args.place).trim()) && args.city != null) {
|
|
357
|
+
throw new ToolError("rent_check with city needs a month, rent_since or lease_start: the ABS rents index is " +
|
|
358
|
+
"compared from it. Without a month it needs place, for the local median of new bonds.",
|
|
359
|
+
"Give rent_since (the month the current rent began, e.g. \"2024-03\") or lease_start, with city; or leave city " +
|
|
360
|
+
"out and give the suburb, locality or postcode as place.");
|
|
361
|
+
}
|
|
326
362
|
if (args.place == null || !String(args.place).trim()) {
|
|
327
|
-
throw new ToolError("rent_check needs
|
|
328
|
-
|
|
363
|
+
throw new ToolError("rent_check needs place (a suburb, locality or postcode, for the local median of new bonds), " +
|
|
364
|
+
`or city with rent_since or lease_start (the city-wide index check). ${ONLY_PLACE}`,
|
|
365
|
+
"Give the suburb, locality or postcode as place, e.g. place \"Parramatta\" or \"2150\"; or give city and " +
|
|
366
|
+
"rent_since (or lease_start).");
|
|
329
367
|
}
|
|
330
368
|
return ignoring(await rentCheckLocal(args, data, new Date(), { byType: () => byTypeFiles(rentsByType, byTypeWaitMs), hosted }),
|
|
331
369
|
args.city != null ? ["city"] : [], "without lease_start, the rent is placed against the place's own median; give " +
|
|
@@ -334,10 +372,13 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
334
372
|
|
|
335
373
|
server.registerTool("market_indicators", titled({
|
|
336
374
|
title: "Australian property market indicators",
|
|
337
|
-
|
|
375
|
+
// SITE-247: the cash rate's clause is SITE-246's phrase, word for word, built from CASH_STALE_DAYS.
|
|
376
|
+
description: "Latest Australian property market indicators - the RBA cash rate (left out when DwellDelta holds no " +
|
|
377
|
+
`RBA cash rate figure from the ${CASH_STALE_DAYS} days before the snapshot's weekly build, or when the published ` +
|
|
378
|
+
"figure fails DwellDelta's text check; indicators_left_out then names it, with the reason where one is known), " +
|
|
379
|
+
"unemployment, wage growth, " +
|
|
338
380
|
"rents by capital city, new housing lending, lending standards and arrears, dwelling approvals and completions - " +
|
|
339
|
-
|
|
340
|
-
"calculated by DwellDelta from the publisher's figures; none is a forecast. geography, if given, narrows the " +
|
|
381
|
+
`each with its period, source, licence and limits. ${word("whose.split")}; none is a forecast. geography, if given, narrows the ` +
|
|
341
382
|
"answer to the figures for one place.",
|
|
342
383
|
inputSchema: { geography: z.string().optional().describe("NSW, Australia, or a capital city") },
|
|
343
384
|
outputSchema: OUTPUT_SCHEMAS.market_indicators,
|
|
@@ -408,7 +449,8 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
408
449
|
dwelling_type: z.string().optional().describe("NSW and QLD only. NSW (DCJ's labels): House, Townhouse, " +
|
|
409
450
|
"Flat/Unit, Other. QLD (the RTA's): Flat, House, Townhouse. 'unit' and 'apartment' are read as flat/unit. " +
|
|
410
451
|
"Without bedrooms, every size the publisher reports for that type is given"),
|
|
411
|
-
bedrooms
|
|
452
|
+
// bedrooms' reader and error (SITE-237, F1) are not listed: the field lists as before, byte for byte.
|
|
453
|
+
bedrooms: z.preprocess(readBedrooms, z.string({ error: BEDROOMS_REFUSAL })).optional().describe("NSW and QLD only: a number of bedrooms, as '2' or '2 bedrooms'. NSW " +
|
|
412
454
|
"also has Bedsitter, and 4 means DCJ's '4 or more Bedrooms'; a number above 4 is answered under that label " +
|
|
413
455
|
"too, and the answer says it is not for that number alone. QLD: the RTA publishes flats of 1 to 3, houses " +
|
|
414
456
|
"of 2 to 4 and town houses of 2 to 3, and does not define its labels - reading the number as bedrooms is " +
|
|
@@ -417,8 +459,8 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
417
459
|
},
|
|
418
460
|
outputSchema: OUTPUT_SCHEMAS.area_rents,
|
|
419
461
|
annotations: readOnly,
|
|
420
|
-
}), guard(async (args) => areaRentsResult(args, areaRents, new Date(),
|
|
421
|
-
{ nswSuburbs: suburbs, byType: wantsByType(args) ? await byTypeFiles(rentsByType, byTypeWaitMs) : {}, hosted })));
|
|
462
|
+
}), guard(async (args) => wholeState(args.state, areaRentsResult(args, areaRents, new Date(),
|
|
463
|
+
{ nswSuburbs: suburbs, byType: wantsByType(args) ? await byTypeFiles(rentsByType, byTypeWaitMs) : {}, hosted }))));
|
|
422
464
|
|
|
423
465
|
server.registerTool("nsw_sale_prices", titled({
|
|
424
466
|
title: "NSW median sale prices by postcode or council",
|
|
@@ -441,7 +483,7 @@ export function registerReadOnlyTools(server, data, { byTypeWaitMs = null, hoste
|
|
|
441
483
|
},
|
|
442
484
|
outputSchema: OUTPUT_SCHEMAS.nsw_sale_prices,
|
|
443
485
|
annotations: readOnly,
|
|
444
|
-
}), guard((args) => salePricesResult(args, nswSales, new Date(), { nswSuburbs: suburbs, refused: refused.nswSales })));
|
|
486
|
+
}), guard((args) => wholeState("NSW", salePricesResult(args, nswSales, new Date(), { nswSuburbs: suburbs, refused: refused.nswSales }))));
|
|
445
487
|
|
|
446
488
|
// property_rents (0.12.0): registered with the others so the stdio and hosted servers list the same tools.
|
|
447
489
|
registerPlaceTools(server, data, { byType: () => byTypeFiles(rentsByType, byTypeWaitMs), hosted, titled, readOnly, guard });
|
package/sale-prices-tool.mjs
CHANGED
|
@@ -251,5 +251,7 @@ export function salePricesResult({ area, council, dwelling_type } = {}, feed, no
|
|
|
251
251
|
councils: councils.map(pick), areas: areas.map(pick), any_unusual: marked,
|
|
252
252
|
any_unusual_part: noted,
|
|
253
253
|
truncated: dropped.length > 0, limits: feed.limits, changes_made: feed.changes_made,
|
|
254
|
-
...figureFields(figures), sample_rule: RULE, place_note: note, ...cite }
|
|
254
|
+
...figureFields(figures), sample_rule: RULE, place_note: note, ...cite },
|
|
255
|
+
// whole (SITE-237, F2a): read by the registered handler, never in structuredContent (as areaRentsResult).
|
|
256
|
+
whole };
|
|
255
257
|
}
|
package/tools.mjs
CHANGED
|
@@ -20,6 +20,8 @@ import { dirname, join } from "node:path";
|
|
|
20
20
|
import { assess, sentences, LIMITS, isMonth } from "./vendor/rent-check.mjs";
|
|
21
21
|
// 0.16.0: a fetched copy's text keeps the rules of feed-text.mjs before it answers.
|
|
22
22
|
import { checkFetched, checkFields, MAPS } from "./feed-text.mjs";
|
|
23
|
+
// SITE-222: the definitional clauses, written once in definitions.json.
|
|
24
|
+
import { word } from "./definitions.mjs";
|
|
23
25
|
|
|
24
26
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
25
27
|
export const RENTS_PATH = join(HERE, "vendor", "rents-index.json");
|
|
@@ -124,10 +126,28 @@ export async function loadSnapshot({ env = process.env, fetchImpl = globalThis.f
|
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
export const FOOTER = "Information, not advice. From DwellDelta (dwelldelta.com.au), built on public data.";
|
|
127
|
-
export const SERVER_VERSION = "0.
|
|
129
|
+
export const SERVER_VERSION = "0.18.0";
|
|
128
130
|
// The indicators snapshot is rebuilt every Monday. Older than this and the answer says so, in words and in the
|
|
129
131
|
// structured result, rather than serving a stale figure as current.
|
|
130
132
|
export const STALE_DAYS = 10;
|
|
133
|
+
// SITE-246: mirrors dwelldelta-local's CASH_STALE_DAYS (the cash rate is left out of the snapshot when none is held
|
|
134
|
+
// from this many days before its weekly build); this server does not apply it: market_indicators' description states
|
|
135
|
+
// it (SITE-247), and tests read it.
|
|
136
|
+
export const CASH_STALE_DAYS = 45;
|
|
137
|
+
// SITE-246: how SITE-245's cannot_answer entry for a left-out cash rate begins (dwelldelta-local
|
|
138
|
+
// tools/build_indicators.py cash_left_out). Moved here from tests/cash-rate-wording.test.mjs (SITE-246's cold review,
|
|
139
|
+
// R-4), as market_indicators now reads it (indicatorsLeftOut below).
|
|
140
|
+
export const RBA_ENTRY_PREFIX = "The RBA cash rate target";
|
|
141
|
+
/** Where the RBA publishes the cash rate: the page SITE-245's entry names. */
|
|
142
|
+
export const RBA_TABLES_URL = "https://www.rba.gov.au/statistics/tables/";
|
|
143
|
+
/** The sentence that ends every reason in indicators_left_out (SITE-247). */
|
|
144
|
+
export const NO_MEMORY = "Do not quote a cash rate from memory in its place.";
|
|
145
|
+
/** The reasons SITE-247 writes itself: some rows of the file failed its text check; or the file gives none. */
|
|
146
|
+
export const CASH_REASON_TEXT_CHECK = "The RBA cash rate target: not in this answer; one or more rows of DwellDelta's " +
|
|
147
|
+
"indicators file failed its text check and were left out, and the cash rate may be one of them. The RBA publishes " +
|
|
148
|
+
`it at ${RBA_TABLES_URL}. ${NO_MEMORY}`;
|
|
149
|
+
export const CASH_REASON_NONE = "The RBA cash rate target: not in this answer, and DwellDelta's indicators file gives " +
|
|
150
|
+
`no reason. The RBA publishes it at ${RBA_TABLES_URL}. ${NO_MEMORY}`;
|
|
131
151
|
|
|
132
152
|
export async function loadJson(path) {
|
|
133
153
|
return JSON.parse(await readFile(path, "utf8"));
|
|
@@ -538,6 +558,30 @@ function describe(i) {
|
|
|
538
558
|
const rowsOf = (list) => list.filter(isRecord);
|
|
539
559
|
export const GEOGRAPHIES = (snapshot) => [...new Set(rowsOf(snapshot.indicators).map((i) => i.geography))].sort();
|
|
540
560
|
|
|
561
|
+
/**
|
|
562
|
+
* SITE-247: the reason the RBA cash rate is not in an answer, a sentence starting with its name and ending NO_MEMORY:
|
|
563
|
+
* SITE-245's cannot_answer entry (the first that begins RBA_ENTRY_PREFIX), verbatim and never edited, then NO_MEMORY;
|
|
564
|
+
* otherwise, when the text check left rows of the file out (published_rows_left_out above 0), CASH_REASON_TEXT_CHECK;
|
|
565
|
+
* otherwise CASH_REASON_NONE. A cannot_answer that is not a list, or an entry that is not a string, gives no entry.
|
|
566
|
+
*/
|
|
567
|
+
export function cashLeftOutReason(snapshot, rowsLeftOut) {
|
|
568
|
+
const entry = Array.isArray(snapshot?.cannot_answer)
|
|
569
|
+
? snapshot.cannot_answer.find((c) => typeof c === "string" && c.startsWith(RBA_ENTRY_PREFIX)) : undefined;
|
|
570
|
+
if (entry !== undefined) return `${entry} ${NO_MEMORY}`;
|
|
571
|
+
return rowsLeftOut > 0 ? CASH_REASON_TEXT_CHECK : CASH_REASON_NONE;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* SITE-247: each indicator an answer would hold but does not, as { id, reason }; [] when nothing is left out. Today
|
|
576
|
+
* only the RBA cash rate, by the answer's shape: geography absent, or (as wanted reads it) "" or "australia", and no
|
|
577
|
+
* shown row with id "cash_rate".
|
|
578
|
+
*/
|
|
579
|
+
export function indicatorsLeftOut(wanted, items, snapshot, rowsLeftOut) {
|
|
580
|
+
if (wanted !== null && wanted !== "" && wanted !== "australia") return [];
|
|
581
|
+
if (items.some((i) => i.id === "cash_rate")) return [];
|
|
582
|
+
return [{ id: "cash_rate", reason: cashLeftOutReason(snapshot, rowsLeftOut) }];
|
|
583
|
+
}
|
|
584
|
+
|
|
541
585
|
/** market_indicators: the latest reading of each indicator, optionally for one geography. */
|
|
542
586
|
export function marketIndicators(args, snapshot) {
|
|
543
587
|
return marketIndicatorsResult(args, snapshot).text;
|
|
@@ -561,13 +605,16 @@ export function marketIndicatorsResult({ geography } = {}, snapshot, now = new D
|
|
|
561
605
|
const env = envelope({ sources: rowsOf(snapshot.sources).map((s) => ({ ...s, feed_url: PUBLISHED_URL, period: latestFrom(s) })),
|
|
562
606
|
dataAsOf: items.map((i) => i.period).sort().at(-1),
|
|
563
607
|
built: snapshot.built, origin: snapshot.origin ?? null, check: snapshot.text_check ?? null }, now);
|
|
608
|
+
const leftOut = indicatorsLeftOut(wanted, items, snapshot, env.published_rows_left_out);
|
|
564
609
|
const text = [
|
|
565
610
|
...staleNote(env),
|
|
566
|
-
`Australian property market indicators (snapshot built ${snapshot.built}). Each is the latest figure, either the publisher's own or calculated
|
|
611
|
+
`Australian property market indicators (snapshot built ${snapshot.built}). Each is the latest figure, either the publisher's own or ${word("whose.calculated")};`,
|
|
567
612
|
"none is a forecast.",
|
|
568
613
|
"",
|
|
569
614
|
...items.map(describe),
|
|
570
615
|
"",
|
|
616
|
+
// SITE-247: what is left out, and why, before the Cite line; nothing when nothing is.
|
|
617
|
+
...(leftOut.length ? ["Left out:", ...leftOut.map((l) => "- " + l.reason), ""] : []),
|
|
571
618
|
citeLine({ source: "each figure's source, as on its line", period: "each figure's own, as on its line" +
|
|
572
619
|
` (latest ${env.data_as_of}; snapshot built ${snapshot.built})`,
|
|
573
620
|
licence: "each figure's own, as on its line", n: `not applicable (${INDICATOR_N})`,
|
|
@@ -576,7 +623,7 @@ export function marketIndicatorsResult({ geography } = {}, snapshot, now = new D
|
|
|
576
623
|
].join("\n");
|
|
577
624
|
// Each indicator as the snapshot gives it, plus its licence id, its source's URL (none in today's snapshot) and n.
|
|
578
625
|
const indicators = items.map((i) => ({ ...i, licence_id: licenceId(i.licence), source_url: sourceUrl(i), sample_size: null }));
|
|
579
|
-
return { text, structured: { ...env, indicators, sample_size: null, sample_size_note: INDICATOR_N } };
|
|
626
|
+
return { text, structured: { ...env, indicators, indicators_left_out: leftOut, sample_size: null, sample_size_note: INDICATOR_N } };
|
|
580
627
|
}
|
|
581
628
|
|
|
582
629
|
/** data_sources: what DwellDelta covers, under which licences, and what it cannot answer. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publisher": "DwellDelta, a service of Xcelerent Pty Ltd",
|
|
3
|
-
"built": "2026-11-
|
|
3
|
+
"built": "2026-11-30",
|
|
4
4
|
"state": "ACT",
|
|
5
5
|
"state_name": "Australian Capital Territory",
|
|
6
6
|
"measure": "interim_rent_cover",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"why_interim": "Every other state's rents file gives the median rent of new bonds lodged in a quarter, from its bond authority. No such data is held for the Australian Capital Territory; this file stands in until it is, and is a different kind of file, with fields named for what they are.",
|
|
10
10
|
"periods": {
|
|
11
11
|
"census_2021": "Census night, 2021-08-10 (10 August 2021)",
|
|
12
|
-
"cpi_rents": "July 2022 to
|
|
12
|
+
"cpi_rents": "July 2022 to October 2026",
|
|
13
13
|
"dwelling_prices": "June 2026 quarter"
|
|
14
14
|
},
|
|
15
15
|
"licence": "CC BY 4.0",
|
|
16
16
|
"licence_url": "https://creativecommons.org/licenses/by/4.0/",
|
|
17
17
|
"rights_holder": "Commonwealth of Australia (Australian Bureau of Statistics)",
|
|
18
18
|
"source_notice": "https://www.abs.gov.au/website-privacy-copyright-and-disclaimer",
|
|
19
|
-
"attribution": "Based on Australian Bureau of Statistics data. ABS data used with permission from the Australian Bureau of Statistics. Census of Population and Housing 2021, General Community Profile DataPack, Postal Areas, tables G02 and G40 (accessed 2026-09-22); Consumer Price Index, Australia (6401.0), Table 10, release
|
|
19
|
+
"attribution": "Based on Australian Bureau of Statistics data. ABS data used with permission from the Australian Bureau of Statistics. Census of Population and Housing 2021, General Community Profile DataPack, Postal Areas, tables G02 and G40 (accessed 2026-09-22); Consumer Price Index, Australia (6401.0), Table 10, release oct-2026; Total Value of Dwellings (6432.0), Table 2, release jun-quarter-2026. Licensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/. www.abs.gov.au",
|
|
20
20
|
"changes_made": "Selected by DwellDelta: the G02 median weekly rent for each Australian Capital Territory postal area as the ABS publishes it (0, where the ABS gives no median, is null here), and G40's count of renting households. Calculated by DwellDelta from G40: renting households who stated their rent; the three landlord shares (census_2021_private_landlord_share_pct, census_2021_social_landlord_share_pct and census_2021_other_landlord_share_pct), each of the sum of G40's five landlord-type cells; and the two flags, mostly_not_private_rentals and small_census_sample, which are DwellDelta's own marks, not the ABS's. From CPI Table 10: the year change and the change since the series began, calculated from the ABS's index. From Total Value of Dwellings Table 2: the ABS's figures, $'000 shown in dollars.",
|
|
21
21
|
"limits": [
|
|
22
22
|
"Interim, and not like the other states' rents files: no figure here is a rent of new bonds lodged in a quarter, an advertised rent, or what a home rents for today.",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Every landlord is in the Census median: a real estate agent or a private person (the private market), a state or territory housing authority or a community housing provider (social housing, whose rents are usually set below the market), and what the Census calls 'other landlord type' (residential parks, and employers, Defence Housing Australia among them). Where few households rent privately the median can sit far below a market rent. The three census_2021_*_landlord_share_pct fields, calculated by DwellDelta, give each group's share of the renting households G40 counts under a stated landlord type - the sum of its five landlord-type cells, so the three add to 100 but for rounding (null where that sum, or G40's count of renting households less those whose landlord type is not stated, is under 20). A postal area where under 50% rent privately is flagged mostly_not_private_rentals (null where there is no share) - do not quote its median as a market rent. In this file: 2609.",
|
|
25
25
|
"The ABS adjusts every Census count slightly at random to protect confidentiality. A postal area whose median rests on fewer than 30 renting households who stated their rent, or that has no median, is flagged small_census_sample.",
|
|
26
26
|
"Postal areas are the ABS's approximations of postcodes, placed in a state by their number. The ABS lists the ones that cross a border: 2611, 2618, whose figures take in the whole postal area across the border (crosses_border says which states).",
|
|
27
|
-
"The rents index (cpi_rents) measures CHANGE in rents paid
|
|
27
|
+
"The rents index (cpi_rents) measures CHANGE in rents paid in Canberra, on new and continuing leases, private and public housing; it is not a dollar rent and its level means nothing alone. The monthly series in this file begins July 2022, after Census night, so it cannot carry a 2021 rent forward to today, and nothing in this file does: no current rent is estimated.",
|
|
28
28
|
"The dwelling prices are median SALE prices of the homes transferred in the June 2026 quarter, for Canberra as a whole - not rents, no suburb or postcode, and not a mean price. The ABS revises recent quarters in later releases; the file names the release it read.",
|
|
29
29
|
"Do not divide one figure by another: the rents are of August 2021 and the prices of the June 2026 quarter, so no rental yield can be read from this file.",
|
|
30
30
|
"DwellDelta is not connected with, sponsored by or endorsed by the Australian Bureau of Statistics.",
|
|
@@ -319,18 +319,18 @@
|
|
|
319
319
|
"cpi_rents": {
|
|
320
320
|
"city": "Canberra",
|
|
321
321
|
"source": "ABS Consumer Price Index, Australia (6401.0), Table 10: rents index, Canberra, monthly, original",
|
|
322
|
-
"release": "
|
|
322
|
+
"release": "oct-2026",
|
|
323
323
|
"series_id": "A130395218J",
|
|
324
324
|
"measures": "an index of change in what tenants pay across new and continuing leases in Canberra - not a dollar rent, and not an advertised rent; its level means nothing alone",
|
|
325
|
-
"period": "July 2022 to
|
|
326
|
-
"latest_month": "2026-
|
|
327
|
-
"index_latest_month": 101.
|
|
325
|
+
"period": "July 2022 to October 2026",
|
|
326
|
+
"latest_month": "2026-10",
|
|
327
|
+
"index_latest_month": 101.38,
|
|
328
328
|
"year_change_pct": 1.4,
|
|
329
|
-
"year_change_period": "
|
|
329
|
+
"year_change_period": "October 2025 to October 2026",
|
|
330
330
|
"first_month": "2022-07",
|
|
331
331
|
"index_first_month": 95.0,
|
|
332
332
|
"change_since_first_month_pct": 6.7,
|
|
333
|
-
"change_since_first_month_period": "July 2022 to
|
|
333
|
+
"change_since_first_month_period": "July 2022 to October 2026"
|
|
334
334
|
},
|
|
335
335
|
"dwelling_prices": {
|
|
336
336
|
"source": "ABS Total Value of Dwellings (6432.0), Table 2: median price and number of transfers, established houses and attached dwellings, original, by capital city and rest of state",
|
package/vendor/indicators.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publisher": "DwellDelta, a service of Xcelerent Pty Ltd",
|
|
3
|
-
"built": "2026-
|
|
3
|
+
"built": "2026-12-03",
|
|
4
4
|
"indicators": [
|
|
5
5
|
{
|
|
6
6
|
"id": "cash_rate",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"id": "unemployment_rate_nsw",
|
|
24
24
|
"name": "Unemployment rate, seasonally adjusted",
|
|
25
25
|
"geography": "NSW",
|
|
26
|
-
"value": 4.
|
|
26
|
+
"value": 4.63,
|
|
27
27
|
"unit": "percent",
|
|
28
|
-
"period": "2026-
|
|
28
|
+
"period": "2026-10",
|
|
29
29
|
"source": "ABS Labour Force, Australia (6202.0), Table 10: labour force status by state, monthly, seasonally adjusted.",
|
|
30
30
|
"licence": "CC BY 4.0",
|
|
31
31
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
32
32
|
"source_url": "https://www.abs.gov.au/statistics/labour/employment-and-unemployment/labour-force-australia/latest-release",
|
|
33
33
|
"change": {
|
|
34
|
-
"value": 0.
|
|
34
|
+
"value": 0.39,
|
|
35
35
|
"unit": "points",
|
|
36
36
|
"over": "year"
|
|
37
37
|
},
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"id": "unemployment_rate_australia",
|
|
42
42
|
"name": "Unemployment rate, seasonally adjusted",
|
|
43
43
|
"geography": "Australia",
|
|
44
|
-
"value": 4.
|
|
44
|
+
"value": 4.86,
|
|
45
45
|
"unit": "percent",
|
|
46
|
-
"period": "2026-
|
|
46
|
+
"period": "2026-10",
|
|
47
47
|
"source": "ABS Labour Force, Australia (6202.0), Table 10: labour force status by state, monthly, seasonally adjusted.",
|
|
48
48
|
"licence": "CC BY 4.0",
|
|
49
49
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
50
50
|
"source_url": "https://www.abs.gov.au/statistics/labour/employment-and-unemployment/labour-force-australia/latest-release",
|
|
51
51
|
"change": {
|
|
52
|
-
"value": 0.
|
|
52
|
+
"value": 0.57,
|
|
53
53
|
"unit": "points",
|
|
54
54
|
"over": "year"
|
|
55
55
|
},
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"id": "wage_growth_nsw",
|
|
60
60
|
"name": "Wage Price Index, change over the year",
|
|
61
61
|
"geography": "NSW",
|
|
62
|
-
"value": 3.
|
|
62
|
+
"value": 3.5,
|
|
63
63
|
"unit": "percent",
|
|
64
|
-
"period": "2026-
|
|
64
|
+
"period": "2026-09",
|
|
65
65
|
"source": "ABS Wage Price Index (6345.0), Table 2b: total hourly rates of pay excluding bonuses, all sectors by state, original, quarterly.",
|
|
66
66
|
"licence": "CC BY 4.0",
|
|
67
67
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"id": "wage_growth_australia",
|
|
73
73
|
"name": "Wage Price Index, change over the year",
|
|
74
74
|
"geography": "Australia",
|
|
75
|
-
"value": 3.
|
|
75
|
+
"value": 3.54,
|
|
76
76
|
"unit": "percent",
|
|
77
|
-
"period": "2026-
|
|
77
|
+
"period": "2026-09",
|
|
78
78
|
"source": "ABS Wage Price Index (6345.0), Table 2b: total hourly rates of pay excluding bonuses, all sectors by state, original, quarterly.",
|
|
79
79
|
"licence": "CC BY 4.0",
|
|
80
80
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"id": "rents_sydney",
|
|
86
86
|
"name": "ABS rents index, change over the year",
|
|
87
87
|
"geography": "Sydney",
|
|
88
|
-
"value": 3.
|
|
88
|
+
"value": 3.4,
|
|
89
89
|
"unit": "percent",
|
|
90
|
-
"period": "2026-
|
|
90
|
+
"period": "2026-10",
|
|
91
91
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
92
92
|
"licence": "CC BY 4.0",
|
|
93
93
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"id": "rents_adelaide",
|
|
99
99
|
"name": "ABS rents index, change over the year",
|
|
100
100
|
"geography": "Adelaide",
|
|
101
|
-
"value":
|
|
101
|
+
"value": 3.9,
|
|
102
102
|
"unit": "percent",
|
|
103
|
-
"period": "2026-
|
|
103
|
+
"period": "2026-10",
|
|
104
104
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
105
105
|
"licence": "CC BY 4.0",
|
|
106
106
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
"id": "rents_brisbane",
|
|
112
112
|
"name": "ABS rents index, change over the year",
|
|
113
113
|
"geography": "Brisbane",
|
|
114
|
-
"value": 4.
|
|
114
|
+
"value": 4.5,
|
|
115
115
|
"unit": "percent",
|
|
116
|
-
"period": "2026-
|
|
116
|
+
"period": "2026-10",
|
|
117
117
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
118
118
|
"licence": "CC BY 4.0",
|
|
119
119
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"geography": "Canberra",
|
|
127
127
|
"value": 1.4,
|
|
128
128
|
"unit": "percent",
|
|
129
|
-
"period": "2026-
|
|
129
|
+
"period": "2026-10",
|
|
130
130
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
131
131
|
"licence": "CC BY 4.0",
|
|
132
132
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -137,9 +137,9 @@
|
|
|
137
137
|
"id": "rents_darwin",
|
|
138
138
|
"name": "ABS rents index, change over the year",
|
|
139
139
|
"geography": "Darwin",
|
|
140
|
-
"value": 6.
|
|
140
|
+
"value": 6.7,
|
|
141
141
|
"unit": "percent",
|
|
142
|
-
"period": "2026-
|
|
142
|
+
"period": "2026-10",
|
|
143
143
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
144
144
|
"licence": "CC BY 4.0",
|
|
145
145
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"geography": "Hobart",
|
|
153
153
|
"value": 3.2,
|
|
154
154
|
"unit": "percent",
|
|
155
|
-
"period": "2026-
|
|
155
|
+
"period": "2026-10",
|
|
156
156
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
157
157
|
"licence": "CC BY 4.0",
|
|
158
158
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -163,9 +163,9 @@
|
|
|
163
163
|
"id": "rents_melbourne",
|
|
164
164
|
"name": "ABS rents index, change over the year",
|
|
165
165
|
"geography": "Melbourne",
|
|
166
|
-
"value": 2.
|
|
166
|
+
"value": 2.4,
|
|
167
167
|
"unit": "percent",
|
|
168
|
-
"period": "2026-
|
|
168
|
+
"period": "2026-10",
|
|
169
169
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
170
170
|
"licence": "CC BY 4.0",
|
|
171
171
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -176,9 +176,9 @@
|
|
|
176
176
|
"id": "rents_perth",
|
|
177
177
|
"name": "ABS rents index, change over the year",
|
|
178
178
|
"geography": "Perth",
|
|
179
|
-
"value": 5.
|
|
179
|
+
"value": 5.2,
|
|
180
180
|
"unit": "percent",
|
|
181
|
-
"period": "2026-
|
|
181
|
+
"period": "2026-10",
|
|
182
182
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
183
183
|
"licence": "CC BY 4.0",
|
|
184
184
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"id": "approvals",
|
|
406
406
|
"name": "Dwellings approved, seasonally adjusted",
|
|
407
407
|
"geography": "NSW",
|
|
408
|
-
"value":
|
|
408
|
+
"value": 13889.0,
|
|
409
409
|
"unit": "dwellings per quarter",
|
|
410
410
|
"period": "2026-09",
|
|
411
411
|
"source": "ABS Building Approvals (8731.0), Table 7: total dwelling units approved by state, seasonally adjusted, monthly",
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
414
414
|
"source_url": "https://www.abs.gov.au/statistics/industry/building-and-construction/building-approvals-australia/latest-release",
|
|
415
415
|
"change": {
|
|
416
|
-
"value": 5
|
|
416
|
+
"value": 6.5,
|
|
417
417
|
"unit": "percent",
|
|
418
418
|
"over": "year"
|
|
419
419
|
},
|
|
@@ -440,15 +440,15 @@
|
|
|
440
440
|
"id": "housing_credit_owner_occupied",
|
|
441
441
|
"name": "Housing loans outstanding to owner-occupiers, banks and other deposit-takers",
|
|
442
442
|
"geography": "Australia",
|
|
443
|
-
"value":
|
|
443
|
+
"value": 1698.9,
|
|
444
444
|
"unit": "AUD billion",
|
|
445
|
-
"period": "2026-
|
|
445
|
+
"period": "2026-10",
|
|
446
446
|
"source": "APRA Monthly Authorised Deposit-taking Institution Statistics, back-series, Table 1: loans to households for housing, owner-occupied and investment, $ million, totalled over all reporting ADIs.",
|
|
447
447
|
"licence": "CC BY 3.0 AU",
|
|
448
448
|
"attribution": "Based on APRA Monthly Authorised Deposit-taking Institution Statistics",
|
|
449
449
|
"source_url": "https://www.apra.gov.au/monthly-authorised-deposit-taking-institution-statistics",
|
|
450
450
|
"change": {
|
|
451
|
-
"value":
|
|
451
|
+
"value": 4.91,
|
|
452
452
|
"unit": "percent",
|
|
453
453
|
"over": "year"
|
|
454
454
|
},
|
|
@@ -458,15 +458,15 @@
|
|
|
458
458
|
"id": "housing_credit_investment",
|
|
459
459
|
"name": "Housing loans outstanding to investors, banks and other deposit-takers",
|
|
460
460
|
"geography": "Australia",
|
|
461
|
-
"value":
|
|
461
|
+
"value": 819.16,
|
|
462
462
|
"unit": "AUD billion",
|
|
463
|
-
"period": "2026-
|
|
463
|
+
"period": "2026-10",
|
|
464
464
|
"source": "APRA Monthly Authorised Deposit-taking Institution Statistics, back-series, Table 1: loans to households for housing, owner-occupied and investment, $ million, totalled over all reporting ADIs.",
|
|
465
465
|
"licence": "CC BY 3.0 AU",
|
|
466
466
|
"attribution": "Based on APRA Monthly Authorised Deposit-taking Institution Statistics",
|
|
467
467
|
"source_url": "https://www.apra.gov.au/monthly-authorised-deposit-taking-institution-statistics",
|
|
468
468
|
"change": {
|
|
469
|
-
"value":
|
|
469
|
+
"value": 5.99,
|
|
470
470
|
"unit": "percent",
|
|
471
471
|
"over": "year"
|
|
472
472
|
},
|
|
@@ -476,9 +476,9 @@
|
|
|
476
476
|
"id": "housing_credit_investor_share",
|
|
477
477
|
"name": "Investor share of housing loans outstanding, deposit-takers",
|
|
478
478
|
"geography": "Australia",
|
|
479
|
-
"value": 32.
|
|
479
|
+
"value": 32.53,
|
|
480
480
|
"unit": "percent",
|
|
481
|
-
"period": "2026-
|
|
481
|
+
"period": "2026-10",
|
|
482
482
|
"source": "APRA Monthly Authorised Deposit-taking Institution Statistics, back-series, Table 1: loans to households for housing, owner-occupied and investment, $ million, totalled over all reporting ADIs.",
|
|
483
483
|
"licence": "CC BY 3.0 AU",
|
|
484
484
|
"attribution": "Based on APRA Monthly Authorised Deposit-taking Institution Statistics",
|
|
@@ -489,15 +489,15 @@
|
|
|
489
489
|
"id": "nonbank_mortgages",
|
|
490
490
|
"name": "Residential mortgages held by securitisers",
|
|
491
491
|
"geography": "Australia",
|
|
492
|
-
"value":
|
|
492
|
+
"value": 201.06,
|
|
493
493
|
"unit": "AUD billion",
|
|
494
|
-
"period": "2026-
|
|
494
|
+
"period": "2026-09",
|
|
495
495
|
"source": "ABS Assets and Liabilities of Australian Securitisers (5232.0.55.001), Table 3: residential mortgages and total loans held by securitisers, $ million, original, quarterly.",
|
|
496
496
|
"licence": "CC BY 4.0",
|
|
497
497
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
498
498
|
"source_url": "https://www.abs.gov.au/statistics/economy/finance/assets-and-liabilities-australian-securitisers/latest-release",
|
|
499
499
|
"change": {
|
|
500
|
-
"value":
|
|
500
|
+
"value": 30.93,
|
|
501
501
|
"unit": "percent",
|
|
502
502
|
"over": "year"
|
|
503
503
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publisher": "DwellDelta, a service of Xcelerent Pty Ltd",
|
|
3
|
-
"built": "2026-11-
|
|
3
|
+
"built": "2026-11-30",
|
|
4
4
|
"state": "NT",
|
|
5
5
|
"state_name": "Northern Territory",
|
|
6
6
|
"measure": "interim_rent_cover",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"why_interim": "Every other state's rents file gives the median rent of new bonds lodged in a quarter, from its bond authority. No such data is held for the Northern Territory; this file stands in until it is, and is a different kind of file, with fields named for what they are.",
|
|
10
10
|
"periods": {
|
|
11
11
|
"census_2021": "Census night, 2021-08-10 (10 August 2021)",
|
|
12
|
-
"cpi_rents": "July 2022 to
|
|
12
|
+
"cpi_rents": "July 2022 to October 2026",
|
|
13
13
|
"dwelling_prices": "June 2026 quarter"
|
|
14
14
|
},
|
|
15
15
|
"licence": "CC BY 4.0",
|
|
16
16
|
"licence_url": "https://creativecommons.org/licenses/by/4.0/",
|
|
17
17
|
"rights_holder": "Commonwealth of Australia (Australian Bureau of Statistics)",
|
|
18
18
|
"source_notice": "https://www.abs.gov.au/website-privacy-copyright-and-disclaimer",
|
|
19
|
-
"attribution": "Based on Australian Bureau of Statistics data. ABS data used with permission from the Australian Bureau of Statistics. Census of Population and Housing 2021, General Community Profile DataPack, Postal Areas, tables G02 and G40 (accessed 2026-09-22); Consumer Price Index, Australia (6401.0), Table 10, release
|
|
19
|
+
"attribution": "Based on Australian Bureau of Statistics data. ABS data used with permission from the Australian Bureau of Statistics. Census of Population and Housing 2021, General Community Profile DataPack, Postal Areas, tables G02 and G40 (accessed 2026-09-22); Consumer Price Index, Australia (6401.0), Table 10, release oct-2026; Total Value of Dwellings (6432.0), Table 2, release jun-quarter-2026. Licensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/. www.abs.gov.au",
|
|
20
20
|
"changes_made": "Selected by DwellDelta: the G02 median weekly rent for each Northern Territory postal area as the ABS publishes it (0, where the ABS gives no median, is null here), and G40's count of renting households. Calculated by DwellDelta from G40: renting households who stated their rent; the three landlord shares (census_2021_private_landlord_share_pct, census_2021_social_landlord_share_pct and census_2021_other_landlord_share_pct), each of the sum of G40's five landlord-type cells; and the two flags, mostly_not_private_rentals and small_census_sample, which are DwellDelta's own marks, not the ABS's. From CPI Table 10: the year change and the change since the series began, calculated from the ABS's index. From Total Value of Dwellings Table 2: the ABS's figures, $'000 shown in dollars.",
|
|
21
21
|
"limits": [
|
|
22
22
|
"Interim, and not like the other states' rents files: no figure here is a rent of new bonds lodged in a quarter, an advertised rent, or what a home rents for today.",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Every landlord is in the Census median: a real estate agent or a private person (the private market), a state or territory housing authority or a community housing provider (social housing, whose rents are usually set below the market), and what the Census calls 'other landlord type' (residential parks, and employers, Defence Housing Australia among them). Where few households rent privately the median can sit far below a market rent. The three census_2021_*_landlord_share_pct fields, calculated by DwellDelta, give each group's share of the renting households G40 counts under a stated landlord type - the sum of its five landlord-type cells, so the three add to 100 but for rounding (null where that sum, or G40's count of renting households less those whose landlord type is not stated, is under 20). A postal area where under 50% rent privately is flagged mostly_not_private_rentals (null where there is no share) - do not quote its median as a market rent. In this file: 0822, 0829, 0845, 0846, 0847, 0852, 0853, 0854, 0860, 0862, 0872, 0875, 0880, 0885, 0886.",
|
|
25
25
|
"The ABS adjusts every Census count slightly at random to protect confidentiality. A postal area whose median rests on fewer than 30 renting households who stated their rent, or that has no median, is flagged small_census_sample.",
|
|
26
26
|
"Postal areas are the ABS's approximations of postcodes, placed in a state by their number. The ABS lists the ones that cross a border: 0872, whose figures take in the whole postal area across the border (crosses_border says which states); 4825, allocated to another state, takes in part of the Northern Territory and is not in this file.",
|
|
27
|
-
"The rents index (cpi_rents) measures CHANGE in rents paid
|
|
27
|
+
"The rents index (cpi_rents) measures CHANGE in rents paid in Darwin, on new and continuing leases, private and public housing; it is not a dollar rent and its level means nothing alone. The monthly series in this file begins July 2022, after Census night, so it cannot carry a 2021 rent forward to today, and nothing in this file does: no current rent is estimated. The rents index is for Darwin only, not the rest of the Northern Territory; the prices are given for both.",
|
|
28
28
|
"The dwelling prices are median SALE prices of the homes transferred in the June 2026 quarter, for Darwin and for the rest of the Northern Territory, each as a whole - not rents, no suburb or postcode, and not a mean price. The ABS revises recent quarters in later releases; the file names the release it read.",
|
|
29
29
|
"Do not divide one figure by another: the rents are of August 2021 and the prices of the June 2026 quarter, so no rental yield can be read from this file.",
|
|
30
30
|
"DwellDelta is not connected with, sponsored by or endorsed by the Australian Bureau of Statistics.",
|
|
@@ -417,18 +417,18 @@
|
|
|
417
417
|
"cpi_rents": {
|
|
418
418
|
"city": "Darwin",
|
|
419
419
|
"source": "ABS Consumer Price Index, Australia (6401.0), Table 10: rents index, Darwin, monthly, original",
|
|
420
|
-
"release": "
|
|
420
|
+
"release": "oct-2026",
|
|
421
421
|
"series_id": "A130392600T",
|
|
422
422
|
"measures": "an index of change in what tenants pay across new and continuing leases in Darwin - not a dollar rent, and not an advertised rent; its level means nothing alone",
|
|
423
|
-
"period": "July 2022 to
|
|
424
|
-
"latest_month": "2026-
|
|
425
|
-
"index_latest_month": 106.
|
|
426
|
-
"year_change_pct": 6.
|
|
427
|
-
"year_change_period": "
|
|
423
|
+
"period": "July 2022 to October 2026",
|
|
424
|
+
"latest_month": "2026-10",
|
|
425
|
+
"index_latest_month": 106.93,
|
|
426
|
+
"year_change_pct": 6.7,
|
|
427
|
+
"year_change_period": "October 2025 to October 2026",
|
|
428
428
|
"first_month": "2022-07",
|
|
429
429
|
"index_first_month": 88.83,
|
|
430
|
-
"change_since_first_month_pct":
|
|
431
|
-
"change_since_first_month_period": "July 2022 to
|
|
430
|
+
"change_since_first_month_pct": 20.4,
|
|
431
|
+
"change_since_first_month_period": "July 2022 to October 2026"
|
|
432
432
|
},
|
|
433
433
|
"dwelling_prices": {
|
|
434
434
|
"source": "ABS Total Value of Dwellings (6432.0), Table 2: median price and number of transfers, established houses and attached dwellings, original, by capital city and rest of state",
|
package/vendor/rent-check.mjs
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* Is my rent fair? - the arithmetic, kept apart from the page so it can be tested.
|
|
3
3
|
*
|
|
4
4
|
* What it does: compares a rent, and any proposed increase, with how the ABS rents index for the tenant's
|
|
5
|
-
* capital city has moved since
|
|
6
|
-
*
|
|
5
|
+
* capital city has moved since a start month. The input is named `leaseStart`, but /rent/ passes the month the
|
|
6
|
+
* current rent began, and the MCP passes `rent_since`, or `lease_start` when `rent_since` is not given. Nothing
|
|
7
|
+
* here stores or sends anything; the page that loads this module makes no network request except for its own files.
|
|
7
8
|
*
|
|
8
9
|
* What it deliberately does NOT do: call a rent fair or unfair. The ABS index is city-wide, covers new and
|
|
9
10
|
* continuing leases, and knows nothing about a suburb, a street or a property. The output is sentences a
|
|
@@ -46,7 +47,7 @@ export function assess(input, data) {
|
|
|
46
47
|
const latest = months[months.length - 1];
|
|
47
48
|
if (leaseStart > latest) throw new Error(`the index runs to ${latest}; a lease starting after that cannot be compared`);
|
|
48
49
|
|
|
49
|
-
// The monthly series begins July 2022. A
|
|
50
|
+
// The monthly series begins July 2022. A start month older than that is compared from the series' start, and the
|
|
50
51
|
// result says so rather than pretending to reach further back.
|
|
51
52
|
const truncated = leaseStart < first;
|
|
52
53
|
const startUsed = truncated ? first : leaseStart;
|
package/vendor/rents-index.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"source": "ABS Consumer Price Index (6401.0), Table 10: rents index by capital city, monthly, original. The monthly series begins 2022-07 with the ABS monthly CPI indicator.",
|
|
3
3
|
"attribution": "Based on Australian Bureau of Statistics data",
|
|
4
4
|
"licence": "CC BY 4.0",
|
|
5
|
-
"release": "
|
|
5
|
+
"release": "oct-2026",
|
|
6
6
|
"measures": "an index of what tenants pay across new and continuing leases, not a dollar rent and not an advertised rent",
|
|
7
7
|
"source_url": "https://www.abs.gov.au/statistics/economy/price-indexes-and-inflation/consumer-price-index-australia/latest-release",
|
|
8
8
|
"cities": {
|
|
9
9
|
"Adelaide": {
|
|
10
10
|
"series_id": "A130398806J",
|
|
11
11
|
"first": "2022-07",
|
|
12
|
-
"last": "2026-
|
|
12
|
+
"last": "2026-10",
|
|
13
13
|
"points": {
|
|
14
14
|
"2022-07": 83.85,
|
|
15
15
|
"2022-08": 84.27,
|
|
@@ -61,13 +61,14 @@
|
|
|
61
61
|
"2026-06": 103.1,
|
|
62
62
|
"2026-07": 103.5,
|
|
63
63
|
"2026-08": 103.86,
|
|
64
|
-
"2026-09": 104.0
|
|
64
|
+
"2026-09": 104.0,
|
|
65
|
+
"2026-10": 104.05
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
"Brisbane": {
|
|
68
69
|
"series_id": "A130398799W",
|
|
69
70
|
"first": "2022-07",
|
|
70
|
-
"last": "2026-
|
|
71
|
+
"last": "2026-10",
|
|
71
72
|
"points": {
|
|
72
73
|
"2022-07": 80.77,
|
|
73
74
|
"2022-08": 81.3,
|
|
@@ -119,13 +120,14 @@
|
|
|
119
120
|
"2026-06": 103.38,
|
|
120
121
|
"2026-07": 103.86,
|
|
121
122
|
"2026-08": 104.27,
|
|
122
|
-
"2026-09": 104.58
|
|
123
|
+
"2026-09": 104.58,
|
|
124
|
+
"2026-10": 104.78
|
|
123
125
|
}
|
|
124
126
|
},
|
|
125
127
|
"Canberra": {
|
|
126
128
|
"series_id": "A130395218J",
|
|
127
129
|
"first": "2022-07",
|
|
128
|
-
"last": "2026-
|
|
130
|
+
"last": "2026-10",
|
|
129
131
|
"points": {
|
|
130
132
|
"2022-07": 95.0,
|
|
131
133
|
"2022-08": 95.35,
|
|
@@ -177,13 +179,14 @@
|
|
|
177
179
|
"2026-06": 101.17,
|
|
178
180
|
"2026-07": 101.24,
|
|
179
181
|
"2026-08": 101.34,
|
|
180
|
-
"2026-09": 101.4
|
|
182
|
+
"2026-09": 101.4,
|
|
183
|
+
"2026-10": 101.38
|
|
181
184
|
}
|
|
182
185
|
},
|
|
183
186
|
"Darwin": {
|
|
184
187
|
"series_id": "A130392600T",
|
|
185
188
|
"first": "2022-07",
|
|
186
|
-
"last": "2026-
|
|
189
|
+
"last": "2026-10",
|
|
187
190
|
"points": {
|
|
188
191
|
"2022-07": 88.83,
|
|
189
192
|
"2022-08": 89.27,
|
|
@@ -235,13 +238,14 @@
|
|
|
235
238
|
"2026-06": 104.42,
|
|
236
239
|
"2026-07": 105.26,
|
|
237
240
|
"2026-08": 105.96,
|
|
238
|
-
"2026-09": 106.48
|
|
241
|
+
"2026-09": 106.48,
|
|
242
|
+
"2026-10": 106.93
|
|
239
243
|
}
|
|
240
244
|
},
|
|
241
245
|
"Hobart": {
|
|
242
246
|
"series_id": "A130396275W",
|
|
243
247
|
"first": "2022-07",
|
|
244
|
-
"last": "2026-
|
|
248
|
+
"last": "2026-10",
|
|
245
249
|
"points": {
|
|
246
250
|
"2022-07": 99.48,
|
|
247
251
|
"2022-08": 99.91,
|
|
@@ -293,13 +297,14 @@
|
|
|
293
297
|
"2026-06": 102.51,
|
|
294
298
|
"2026-07": 102.8,
|
|
295
299
|
"2026-08": 103.08,
|
|
296
|
-
"2026-09": 103.19
|
|
300
|
+
"2026-09": 103.19,
|
|
301
|
+
"2026-10": 103.11
|
|
297
302
|
}
|
|
298
303
|
},
|
|
299
304
|
"Melbourne": {
|
|
300
305
|
"series_id": "A130397627J",
|
|
301
306
|
"first": "2022-07",
|
|
302
|
-
"last": "2026-
|
|
307
|
+
"last": "2026-10",
|
|
303
308
|
"points": {
|
|
304
309
|
"2022-07": 85.02,
|
|
305
310
|
"2022-08": 85.4,
|
|
@@ -351,13 +356,14 @@
|
|
|
351
356
|
"2026-06": 101.78,
|
|
352
357
|
"2026-07": 102.04,
|
|
353
358
|
"2026-08": 102.33,
|
|
354
|
-
"2026-09": 102.47
|
|
359
|
+
"2026-09": 102.47,
|
|
360
|
+
"2026-10": 102.53
|
|
355
361
|
}
|
|
356
362
|
},
|
|
357
363
|
"Perth": {
|
|
358
364
|
"series_id": "A130392593F",
|
|
359
365
|
"first": "2022-07",
|
|
360
|
-
"last": "2026-
|
|
366
|
+
"last": "2026-10",
|
|
361
367
|
"points": {
|
|
362
368
|
"2022-07": 77.37,
|
|
363
369
|
"2022-08": 78.08,
|
|
@@ -409,13 +415,14 @@
|
|
|
409
415
|
"2026-06": 103.8,
|
|
410
416
|
"2026-07": 104.36,
|
|
411
417
|
"2026-08": 104.9,
|
|
412
|
-
"2026-09": 105.31
|
|
418
|
+
"2026-09": 105.31,
|
|
419
|
+
"2026-10": 105.61
|
|
413
420
|
}
|
|
414
421
|
},
|
|
415
422
|
"Sydney": {
|
|
416
423
|
"series_id": "A130392586J",
|
|
417
424
|
"first": "2022-07",
|
|
418
|
-
"last": "2026-
|
|
425
|
+
"last": "2026-10",
|
|
419
426
|
"points": {
|
|
420
427
|
"2022-07": 82.63,
|
|
421
428
|
"2022-08": 83.02,
|
|
@@ -467,7 +474,8 @@
|
|
|
467
474
|
"2026-06": 102.66,
|
|
468
475
|
"2026-07": 103.0,
|
|
469
476
|
"2026-08": 103.29,
|
|
470
|
-
"2026-09": 103.48
|
|
477
|
+
"2026-09": 103.48,
|
|
478
|
+
"2026-10": 103.63
|
|
471
479
|
}
|
|
472
480
|
}
|
|
473
481
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publisher": "DwellDelta, a service of Xcelerent Pty Ltd",
|
|
3
|
-
"built": "2026-11-
|
|
3
|
+
"built": "2026-11-30",
|
|
4
4
|
"state": "TAS",
|
|
5
5
|
"state_name": "Tasmania",
|
|
6
6
|
"measure": "interim_rent_cover",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"why_interim": "This file holds the ABS's figures for Tasmania: the 2021 Census, the rents index and sale prices. The medians of bonds lodged are in tas-rents.json, calculated by DwellDelta from the Department of Justice's bond records; the two are different kinds of file, never pooled, and this one names its fields for what they are.",
|
|
10
10
|
"periods": {
|
|
11
11
|
"census_2021": "Census night, 2021-08-10 (10 August 2021)",
|
|
12
|
-
"cpi_rents": "July 2022 to
|
|
12
|
+
"cpi_rents": "July 2022 to October 2026",
|
|
13
13
|
"dwelling_prices": "June 2026 quarter"
|
|
14
14
|
},
|
|
15
15
|
"licence": "CC BY 4.0",
|
|
16
16
|
"licence_url": "https://creativecommons.org/licenses/by/4.0/",
|
|
17
17
|
"rights_holder": "Commonwealth of Australia (Australian Bureau of Statistics)",
|
|
18
18
|
"source_notice": "https://www.abs.gov.au/website-privacy-copyright-and-disclaimer",
|
|
19
|
-
"attribution": "Based on Australian Bureau of Statistics data. ABS data used with permission from the Australian Bureau of Statistics. Census of Population and Housing 2021, General Community Profile DataPack, Postal Areas, tables G02 and G40 (accessed 2026-09-22); Consumer Price Index, Australia (6401.0), Table 10, release
|
|
19
|
+
"attribution": "Based on Australian Bureau of Statistics data. ABS data used with permission from the Australian Bureau of Statistics. Census of Population and Housing 2021, General Community Profile DataPack, Postal Areas, tables G02 and G40 (accessed 2026-09-22); Consumer Price Index, Australia (6401.0), Table 10, release oct-2026; Total Value of Dwellings (6432.0), Table 2, release jun-quarter-2026. Licensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/. www.abs.gov.au",
|
|
20
20
|
"changes_made": "Selected by DwellDelta: the G02 median weekly rent for each Tasmania postal area as the ABS publishes it (0, where the ABS gives no median, is null here), and G40's count of renting households. Calculated by DwellDelta from G40: renting households who stated their rent; the three landlord shares (census_2021_private_landlord_share_pct, census_2021_social_landlord_share_pct and census_2021_other_landlord_share_pct), each of the sum of G40's five landlord-type cells; and the two flags, mostly_not_private_rentals and small_census_sample, which are DwellDelta's own marks, not the ABS's. From CPI Table 10: the year change and the change since the series began, calculated from the ABS's index. From Total Value of Dwellings Table 2: the ABS's figures, $'000 shown in dollars.",
|
|
21
21
|
"limits": [
|
|
22
22
|
"Interim, and not like the other states' rents files: no figure here is a rent of new bonds lodged in a quarter, an advertised rent, or what a home rents for today.",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"Every landlord is in the Census median: a real estate agent or a private person (the private market), a state or territory housing authority or a community housing provider (social housing, whose rents are usually set below the market), and what the Census calls 'other landlord type' (residential parks, and employers, Defence Housing Australia among them). Where few households rent privately the median can sit far below a market rent. The three census_2021_*_landlord_share_pct fields, calculated by DwellDelta, give each group's share of the renting households G40 counts under a stated landlord type - the sum of its five landlord-type cells, so the three add to 100 but for rounding (null where that sum, or G40's count of renting households less those whose landlord type is not stated, is under 20). A postal area where under 50% rent privately is flagged mostly_not_private_rentals (null where there is no share) - do not quote its median as a market rent. In this file: 7255.",
|
|
25
25
|
"The ABS adjusts every Census count slightly at random to protect confidentiality. A postal area whose median rests on fewer than 30 renting households who stated their rent, or that has no median, is flagged small_census_sample.",
|
|
26
26
|
"Postal areas are the ABS's approximations of postcodes, placed in a state by their number. No postal area of Tasmania crosses a border, by the ABS's list of those that do.",
|
|
27
|
-
"The rents index (cpi_rents) measures CHANGE in rents paid
|
|
27
|
+
"The rents index (cpi_rents) measures CHANGE in rents paid in Hobart, on new and continuing leases, private and public housing; it is not a dollar rent and its level means nothing alone. The monthly series in this file begins July 2022, after Census night, so it cannot carry a 2021 rent forward to today, and nothing in this file does: no current rent is estimated. The rents index is for Hobart only, not the rest of Tasmania; the prices are given for both.",
|
|
28
28
|
"The dwelling prices are median SALE prices of the homes transferred in the June 2026 quarter, for Hobart and for the rest of Tasmania, each as a whole - not rents, no suburb or postcode, and not a mean price. The ABS revises recent quarters in later releases; the file names the release it read.",
|
|
29
29
|
"Do not divide one figure by another: the rents are of August 2021 and the prices of the June 2026 quarter, so no rental yield can be read from this file.",
|
|
30
30
|
"DwellDelta is not connected with, sponsored by or endorsed by the Australian Bureau of Statistics.",
|
|
@@ -1310,18 +1310,18 @@
|
|
|
1310
1310
|
"cpi_rents": {
|
|
1311
1311
|
"city": "Hobart",
|
|
1312
1312
|
"source": "ABS Consumer Price Index, Australia (6401.0), Table 10: rents index, Hobart, monthly, original",
|
|
1313
|
-
"release": "
|
|
1313
|
+
"release": "oct-2026",
|
|
1314
1314
|
"series_id": "A130396275W",
|
|
1315
1315
|
"measures": "an index of change in what tenants pay across new and continuing leases in Hobart - not a dollar rent, and not an advertised rent; its level means nothing alone",
|
|
1316
|
-
"period": "July 2022 to
|
|
1317
|
-
"latest_month": "2026-
|
|
1318
|
-
"index_latest_month": 103.
|
|
1316
|
+
"period": "July 2022 to October 2026",
|
|
1317
|
+
"latest_month": "2026-10",
|
|
1318
|
+
"index_latest_month": 103.11,
|
|
1319
1319
|
"year_change_pct": 3.2,
|
|
1320
|
-
"year_change_period": "
|
|
1320
|
+
"year_change_period": "October 2025 to October 2026",
|
|
1321
1321
|
"first_month": "2022-07",
|
|
1322
1322
|
"index_first_month": 99.48,
|
|
1323
|
-
"change_since_first_month_pct": 3.
|
|
1324
|
-
"change_since_first_month_period": "July 2022 to
|
|
1323
|
+
"change_since_first_month_pct": 3.6,
|
|
1324
|
+
"change_since_first_month_period": "July 2022 to October 2026"
|
|
1325
1325
|
},
|
|
1326
1326
|
"dwelling_prices": {
|
|
1327
1327
|
"source": "ABS Total Value of Dwellings (6432.0), Table 2: median price and number of transfers, established houses and attached dwellings, original, by capital city and rest of state",
|
package/vendor/vic-rents.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publisher": "DwellDelta, a service of Xcelerent Pty Ltd",
|
|
3
|
-
"built": "2026-11-
|
|
3
|
+
"built": "2026-11-23",
|
|
4
4
|
"what": "Victorian rents by suburb group, all properties: median weekly rent of new leases",
|
|
5
5
|
"quarter": "Jun 2026",
|
|
6
6
|
"compared_with": "Jun 2025",
|
|
7
7
|
"source": "Homes Victoria, Rental Report - Quarterly: Moving annual median rent by suburb and town, via DataVic (discover.data.vic.gov.au/dataset/rental-report-quarterly-moving-annual-rents-by-suburb).",
|
|
8
8
|
"licence": "CC BY 4.0",
|
|
9
|
+
"licence_url": "https://creativecommons.org/licenses/by/4.0/",
|
|
9
10
|
"attribution": "Source: Homes Victoria, Rental Report, licensed under CC BY 4.0",
|
|
11
|
+
"changes_made": "Selected by DwellDelta from Homes Victoria's Rental Report: the 'All properties' median weekly rent, its median a year before and the count of new leases for each suburb group (with its region) and each region; a region's figures are Homes Victoria's 'Group Total' row for it. No Homes Victoria figure is altered. change_pct is calculated by DwellDelta from Homes Victoria's two medians (this quarter against the same quarter a year before), and small_sample is DwellDelta's flag for fewer than 100 new leases.",
|
|
10
12
|
"limits": [
|
|
11
13
|
"Medians of NEW leases (bonds lodged) begun in the 12 months to the quarter - not advertised rents, and not what sitting tenants pay.",
|
|
12
14
|
"A median moves with the mix of homes let: a suburb group's change can be new apartments or a different mix, not rents rising for the same homes.",
|
package/vendor/wa-rents.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publisher": "DwellDelta, a service of Xcelerent Pty Ltd",
|
|
3
|
-
"built": "2026-11-
|
|
3
|
+
"built": "2026-11-23",
|
|
4
4
|
"state": "WA",
|
|
5
5
|
"state_name": "Western Australia",
|
|
6
6
|
"area_kind": "locality",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"Every bond lodged in the quarter is counted. The records do not say whether a bond is for a new tenancy; DwellDelta takes a lodgement to be one. These are not advertised rents, and not what sitting tenants pay.",
|
|
21
21
|
"A locality needs 10 bonds in the quarter for a median (null below that), and 10 in the same quarter a year before for a change; rows resting on fewer than 30 bonds are flagged small_sample.",
|
|
22
22
|
"The bond records carry no dwelling type or bedrooms, so every figure is all dwellings together. A median moves with the mix of homes let: a change can be new apartments or a different mix of homes, not rents rising for the same homes.",
|
|
23
|
-
"A locality is one suburb-sized area. A name lodged with a WA state code or a WA postcode added at its end is counted as the locality it names, but a misspelling is a row of its own - usually a bond or two and no median - beside the real one. If a locality has no median, look for another spelling of it before saying there is none. PERTH is the city-centre locality (postcode 6000), not Greater Perth -
|
|
23
|
+
"A locality is one suburb-sized area. A name lodged with a WA state code or a WA postcode added at its end is counted as the locality it names, but a misspelling is a row of its own - usually a bond or two and no median - beside the real one. If a locality has no median, look for another spelling of it before saying there is none. PERTH is the city-centre locality (postcode 6000), not Greater Perth. Greater Perth is the row of that name in regions, given by a whole-state answer (no area named); the state's own row is state_total.",
|
|
24
|
+
"Greater Perth is the ABS's Greater Capital City Statistical Area 5GPER, ASGS Edition 3 (CC BY 4.0): 396 localities placed by DwellDelta from the ABS's allocation files, and matched to the bonds by name. Its median is of its bonds, not of its localities' medians. 23 of the quarter's bonds name no locality the ABS lists: they are in the state's figure and in no region's.",
|
|
24
25
|
"Many bonds lodged at one identical rent - a large block let at a single rate - can move a locality's median on their own, in either direction. Read a locality's change beside its bond count, not alone.",
|
|
25
26
|
"Information, not financial or tenancy advice."
|
|
26
27
|
],
|
|
@@ -31,7 +32,16 @@
|
|
|
31
32
|
"change_pct": 7.7,
|
|
32
33
|
"small_sample": false
|
|
33
34
|
},
|
|
34
|
-
"regions": [
|
|
35
|
+
"regions": [
|
|
36
|
+
{
|
|
37
|
+
"region": "Greater Perth",
|
|
38
|
+
"median_weekly_rent_aud": 700,
|
|
39
|
+
"new_bonds": 16923,
|
|
40
|
+
"year_ago_median_aud": 660,
|
|
41
|
+
"change_pct": 6.1,
|
|
42
|
+
"small_sample": false
|
|
43
|
+
}
|
|
44
|
+
],
|
|
35
45
|
"councils": [],
|
|
36
46
|
"areas": [
|
|
37
47
|
{
|