Health and wellbeing - councils (LGA) [Data Explorer (legacy)]
/v1/lga/{lga_name}/demographics/data-explorer-health-and-wellbeing5¢ per callLegacy Data Explorer figures for a council (LGA): 36 fields on health and wellbeing, each with its latest value, its own as_of date and its rank among comparable areas.
Coverage: Council (lga) level; 8,230 values; latest periods 2014-12-31 to 2022-10-01. Current to 2022-10-01. Full description, field list and method: /v1/datasets/data-explorer-people-lifestyle-health-and-wellbeing-lga.
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
lga_namestringrequiredCouncil (LGA) name exactly as /v1/lga/list returns it, e.g. `Lake Macquarie`.
Query parameters
fieldsstringoptionalComma-separated subset of: change_in_grocery_and_pharmacy_activity_weekends, change_in_park_activity_compared_to_pre_covid, change_in_retail_and_recreation_activity_weekends, change_in_time_spent_at_home, change_in_time_spent_in_residential_weekdays, of_people_leaving_the_house_compared_to_pre_covid, of_people_leaving_the_house_compared_to_pre_covid_weekends, endocr_nutr_metab_dis_p_ph_asr_100k, asthma_incidence, fair_or_poor_health_status_men, fair_or_poor_health_status_people, fair_or_poor_health_status_women, food_insecurity, problem_children, students_attaining_minimum_literacy_standards, students_attaining_minimum_numeracy_standards, females_with_mental_and_behavioural_problems, grocery_and_pharmacy_activity_weekdays, grocery_and_pharmacy_visits_growth, 7_persons_earning_nil_inc, 8_persons_w_a_negative_inc, nedd2_dwelling_has_internet_connection, lifestyle_change_since_covid, males_with_mental_and_behavioural_problems, mobility, people_with_mental_and_behavioural_problems, share_persons_with_a_profound_or_severe_disability, share_providing_assistance_to_persons_with_a_disability, persons_with_a_profound_or_severe_disability_0_to_64_years, retail_and_recreation_activity_weekdays, retail_and_recreation_visits_growth, routine_disruption_post_covid, time_spent_in_residential_weekends, discrimination, family_sup, intolerance. 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/lga/{lga_name}/demographics/data-explorer-health-and-wellbeingcurl --request GET \
--url 'https://api.microburbs.com.au/v1/lga/Lake%20Macquarie/demographics/data-explorer-health-and-wellbeing' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "data-explorer-people-lifestyle-health-and-wellbeing-lga",
"collection": "data-explorer",
"level": "lga",
"area": "Lake Macquarie",
"as_of": "2022-10-01",
"modelled": false,
"fields": [
{
"field": "change_in_grocery_and_pharmacy_activity_weekends",
"name": "% Change in grocery and pharmacy activity - weekends",
"unit": "ratio 0-1",
"as_of": "2022-10-01",
"value": 0.22,
"rank": 1,
"areas": 1,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "change_in_park_activity_compared_to_pre_covid",
"name": "% Change in park activity compared to pre covid",
"unit": "ratio 0-1",
"as_of": "2022-10-01",
"value": -0.165,
"rank": 1,
"areas": 1,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "change_in_retail_and_recreation_activity_weekends",
"name": "% Change in retail and recreation activity - weekends",
"unit": "ratio 0-1",
"as_of": "2022-10-01",
"value": 0.034,
"rank": 1,
"areas": 1,
"forecast": false,
"name_inferred": false,
"see_also": []
}
]
}
}