Agriculture and farming - SA2 areas [Data Explorer (legacy)]
/v1/sa2/{sa2_name}/economy/data-explorer-agriculture-and-farming5¢ per callLegacy Data Explorer figures for a SA2: 12 fields on agriculture and farming, each with its latest value, its own as_of date and its rank among comparable areas.
Coverage: Sa2 level; 7,541 values; latest periods 2021-06-30 to 2021-06-30. Current to 2021-06-30. Full description, field list and method: /v1/datasets/data-explorer-affluence-economy-agriculture-and-farming-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: broadacre_crops, fruit_and_nuts_excluding_grapes, fruit_and_nuts_grapes, hay, livestock_products, livestock_slaughtered_and_other_disposals, nurseries_cut_flowers_or_cultivated_turf, nurseries_cut_flowers_or_cultivated_turf_cut_flowers, nurseries_cut_flowers_or_cultivated_turf_nurseries, total_agriculture, total_value_of_crops, vegetables. 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}/economy/data-explorer-agriculture-and-farmingcurl --request GET \
--url 'https://api.microburbs.com.au/v1/sa2/Acton%20-%20Upper%20Burnie/economy/data-explorer-agriculture-and-farming' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "data-explorer-affluence-economy-agriculture-and-farming-sa2",
"collection": "data-explorer",
"level": "sa2",
"area": "Acton - Upper Burnie",
"as_of": "2021-06-30",
"modelled": false,
"fields": [
{
"field": "livestock_slaughtered_and_other_disposals",
"name": "Livestock slaughtered and other disposals",
"unit": "$",
"as_of": "2021-06-30",
"value": 11000,
"rank": 20,
"areas": 21,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "total_agriculture",
"name": "Total agriculture",
"unit": "$",
"as_of": "2021-06-30",
"value": 11000,
"rank": 20,
"areas": 21,
"forecast": false,
"name_inferred": false,
"see_also": []
}
]
}
}