Health and wellbeing - SA2 areas [Data Explorer (legacy)]
/v1/sa2/{sa2_name}/demographics/data-explorer-health-and-wellbeing5¢ per callLegacy Data Explorer figures for a SA2: 16 fields on health and wellbeing, each with its latest value, its own as_of date and its rank among comparable areas.
Coverage: Sa2 level; 33,952 values; latest periods 2016-12-31 to 2016-12-31. Current to 2016-12-31. Full description, field list and method: /v1/datasets/data-explorer-people-lifestyle-health-and-wellbeing-sa2.
Part of the Data Explorer (legacy) collection: figures served as last built. Each field carries its own as_of; several link to the maintained field that replaces them (superseded_by).
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
sa2_namestringrequiredStatistical Area Level 2 (2021) name exactly as published, e.g. `St Kilda - Central` or `Fortitude Valley`.
Query parameters
fieldsstringoptionalComma-separated subset of: life_dissatisfaction, life_satisfaction_score, life_satisfaction_score_of_0_very_low, life_satisfaction_score_of_1, life_satisfaction_score_of_10_very_high, life_satisfaction_score_of_2, life_satisfaction_score_of_3, life_satisfaction_score_of_4, life_satisfaction_score_of_5, life_satisfaction_score_of_6, life_satisfaction_score_of_7, life_satisfaction_score_of_8, life_satisfaction_score_of_9, satisfied_with_life, unsatisfied_with_life, very_satisfied_with_life. Omit for all.
historybooleanoptionalAlso return every earlier period of each field (oldest first).
Responses
Successful Response
datasetstringalways returnedDataset slug; describe it with /v1/datasets/{slug}.
collectionstringalways returnedAlways data-explorer: the legacy Data Explorer figures, served as last built.
levelstringalways returnedsuburb, lga, postcode, sa2, sa3 or electorate.
areastringalways returnedCanonical name (or postcode) of the area answered.
as_ofstring · datealways returnedLatest `as_of` among the fields returned (excluding forecasts).
modelledbooleanalways returnedTrue when the figures are scores or estimates from a model.
fieldsarray of FigureFieldalways returnedEvery requested field held for the area. Fields with no value for it are left out.
/v1/sa2/{sa2_name}/demographics/data-explorer-health-and-wellbeingcurl --request GET \
--url 'https://api.microburbs.com.au/v1/sa2/Bondi%20-%20Tamarama%20-%20Bronte/demographics/data-explorer-health-and-wellbeing' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "data-explorer-people-lifestyle-health-and-wellbeing-sa2",
"collection": "data-explorer",
"level": "sa2",
"area": "Bondi - Tamarama - Bronte",
"as_of": "2016-12-31",
"modelled": false,
"fields": [
{
"field": "life_dissatisfaction",
"name": "Life dissatisfaction",
"unit": "ratio 0-1",
"as_of": "2016-12-31",
"value": 0.0071,
"rank": 109,
"areas": 294,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "life_satisfaction_score",
"name": "Life satisfaction score",
"unit": "number",
"as_of": "2016-12-31",
"value": 78,
"rank": 107,
"areas": 294,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "life_satisfaction_score_of_0_very_low",
"name": "Life satisfaction score of 0 (very low)",
"unit": "ratio 0-1",
"as_of": "2016-12-31",
"value": 0.0003,
"rank": 168,
"areas": 294,
"forecast": false,
"name_inferred": false,
"see_also": []
}
]
}
}