Data Notes:
-
NSW government schools by Family Occupation and Education Index (FOEI), as at Mid-Year Census, conducted in August each year.
-
FOEI is a school level index of educational disadvantage related to socioeconomic background. It has been selected as the basis of the equity loading for socio-economic background in the department’s Resource Allocation Model.
-
Includes all hospital schools, Stewart House School and Royal Far West School.
-
Excludes Aurora College, Palm Avenue School, NSW School of Languages and all Environmental Education Centres.
-
As of 2022, Norfolk Island (previously included in North West NSW SA4 Grouping from 2016) is no longer under the jurisdiction of NSW, and therefore not included in the figures.
-
SA4 groupings are a geographical structure based on the ABS Australian Statistical Geography Standard (ASGS).
-
More information on the FOEI methodology and SA4 groupings is available in the Statistical Bulletin explanatory notes.
Data Source:
- Schools and Students: Statistical Bulletin. Centre for Education Statistics and Evaluation.
- Data.NSW
CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "f353262e-4710-4e99-b8fe-a8678a0a51c9",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'f353262e-4710-4e99-b8fe-a8678a0a51c9',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "f353262e-4710-4e99-b8fe-a8678a0a51c9",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="f353262e-4710-4e99-b8fe-a8678a0a51c9",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'f353262e-4710-4e99-b8fe-a8678a0a51c9',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "f353262e-4710-4e99-b8fe-a8678a0a51c9",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'f353262e-4710-4e99-b8fe-a8678a0a51c9', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "f353262e-4710-4e99-b8fe-a8678a0a51c9",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="f353262e-4710-4e99-b8fe-a8678a0a51c9",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='f353262e-4710-4e99-b8fe-a8678a0a51c9',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ec3057f2-8e1e-4690-849f-3de11fa26411",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'ec3057f2-8e1e-4690-849f-3de11fa26411',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "ec3057f2-8e1e-4690-849f-3de11fa26411",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ec3057f2-8e1e-4690-849f-3de11fa26411",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'ec3057f2-8e1e-4690-849f-3de11fa26411',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ec3057f2-8e1e-4690-849f-3de11fa26411",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'ec3057f2-8e1e-4690-849f-3de11fa26411', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "ec3057f2-8e1e-4690-849f-3de11fa26411",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ec3057f2-8e1e-4690-849f-3de11fa26411",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='ec3057f2-8e1e-4690-849f-3de11fa26411',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "9a6039e1-f29c-4449-ae9c-31bff09b0b2f",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '9a6039e1-f29c-4449-ae9c-31bff09b0b2f',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "9a6039e1-f29c-4449-ae9c-31bff09b0b2f",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="9a6039e1-f29c-4449-ae9c-31bff09b0b2f",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '9a6039e1-f29c-4449-ae9c-31bff09b0b2f',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "9a6039e1-f29c-4449-ae9c-31bff09b0b2f",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '9a6039e1-f29c-4449-ae9c-31bff09b0b2f', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "9a6039e1-f29c-4449-ae9c-31bff09b0b2f",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="9a6039e1-f29c-4449-ae9c-31bff09b0b2f",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='9a6039e1-f29c-4449-ae9c-31bff09b0b2f',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "da796416-8af3-4e7e-8ebf-df7bdd0cd3a1",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'da796416-8af3-4e7e-8ebf-df7bdd0cd3a1',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "da796416-8af3-4e7e-8ebf-df7bdd0cd3a1",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="da796416-8af3-4e7e-8ebf-df7bdd0cd3a1",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'da796416-8af3-4e7e-8ebf-df7bdd0cd3a1',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "da796416-8af3-4e7e-8ebf-df7bdd0cd3a1",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'da796416-8af3-4e7e-8ebf-df7bdd0cd3a1', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "da796416-8af3-4e7e-8ebf-df7bdd0cd3a1",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="da796416-8af3-4e7e-8ebf-df7bdd0cd3a1",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='da796416-8af3-4e7e-8ebf-df7bdd0cd3a1',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "d1f68c74-99c8-421a-9a16-e9d9ee2d5833",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'd1f68c74-99c8-421a-9a16-e9d9ee2d5833',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "d1f68c74-99c8-421a-9a16-e9d9ee2d5833",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="d1f68c74-99c8-421a-9a16-e9d9ee2d5833",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'd1f68c74-99c8-421a-9a16-e9d9ee2d5833',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "d1f68c74-99c8-421a-9a16-e9d9ee2d5833",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'd1f68c74-99c8-421a-9a16-e9d9ee2d5833', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "d1f68c74-99c8-421a-9a16-e9d9ee2d5833",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="d1f68c74-99c8-421a-9a16-e9d9ee2d5833",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='d1f68c74-99c8-421a-9a16-e9d9ee2d5833',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "5aec5d57-c44c-4c69-bfd9-75ae5ef0d368",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '5aec5d57-c44c-4c69-bfd9-75ae5ef0d368',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "5aec5d57-c44c-4c69-bfd9-75ae5ef0d368",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="5aec5d57-c44c-4c69-bfd9-75ae5ef0d368",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '5aec5d57-c44c-4c69-bfd9-75ae5ef0d368',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "5aec5d57-c44c-4c69-bfd9-75ae5ef0d368",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '5aec5d57-c44c-4c69-bfd9-75ae5ef0d368', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "5aec5d57-c44c-4c69-bfd9-75ae5ef0d368",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="5aec5d57-c44c-4c69-bfd9-75ae5ef0d368",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='5aec5d57-c44c-4c69-bfd9-75ae5ef0d368',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "f7387044-6866-4ab5-a50e-2f45742195fb",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'f7387044-6866-4ab5-a50e-2f45742195fb',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "f7387044-6866-4ab5-a50e-2f45742195fb",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="f7387044-6866-4ab5-a50e-2f45742195fb",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'f7387044-6866-4ab5-a50e-2f45742195fb',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "f7387044-6866-4ab5-a50e-2f45742195fb",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'f7387044-6866-4ab5-a50e-2f45742195fb', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "f7387044-6866-4ab5-a50e-2f45742195fb",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="f7387044-6866-4ab5-a50e-2f45742195fb",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='f7387044-6866-4ab5-a50e-2f45742195fb',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "eb8cd72f-85ab-4b8c-83e3-ce5f042afe66",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'eb8cd72f-85ab-4b8c-83e3-ce5f042afe66',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "eb8cd72f-85ab-4b8c-83e3-ce5f042afe66",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="eb8cd72f-85ab-4b8c-83e3-ce5f042afe66",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'eb8cd72f-85ab-4b8c-83e3-ce5f042afe66',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "eb8cd72f-85ab-4b8c-83e3-ce5f042afe66",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'eb8cd72f-85ab-4b8c-83e3-ce5f042afe66', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "eb8cd72f-85ab-4b8c-83e3-ce5f042afe66",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="eb8cd72f-85ab-4b8c-83e3-ce5f042afe66",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='eb8cd72f-85ab-4b8c-83e3-ce5f042afe66',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ea9a0043-12d8-479a-a9ee-96ef6c7c746d",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'ea9a0043-12d8-479a-a9ee-96ef6c7c746d',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "ea9a0043-12d8-479a-a9ee-96ef6c7c746d",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ea9a0043-12d8-479a-a9ee-96ef6c7c746d",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'ea9a0043-12d8-479a-a9ee-96ef6c7c746d',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ea9a0043-12d8-479a-a9ee-96ef6c7c746d",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'ea9a0043-12d8-479a-a9ee-96ef6c7c746d', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "ea9a0043-12d8-479a-a9ee-96ef6c7c746d",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ea9a0043-12d8-479a-a9ee-96ef6c7c746d",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='ea9a0043-12d8-479a-a9ee-96ef6c7c746d',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "3c34ef44-f281-4358-b1b6-8a5cb7bddf51",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '3c34ef44-f281-4358-b1b6-8a5cb7bddf51',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "3c34ef44-f281-4358-b1b6-8a5cb7bddf51",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="3c34ef44-f281-4358-b1b6-8a5cb7bddf51",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '3c34ef44-f281-4358-b1b6-8a5cb7bddf51',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "3c34ef44-f281-4358-b1b6-8a5cb7bddf51",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '3c34ef44-f281-4358-b1b6-8a5cb7bddf51', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "3c34ef44-f281-4358-b1b6-8a5cb7bddf51",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="3c34ef44-f281-4358-b1b6-8a5cb7bddf51",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='3c34ef44-f281-4358-b1b6-8a5cb7bddf51',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
(using the ckanapi client library)
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1',
limit = 5,
q = 'jones'))
req_perform %>%
resp_body_json
Get results with either "watershed" or "survey" as subject and "active" as its stage:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/en/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/en/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://data.nsw.gov.au/data/en/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/en/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='6a4cf2ff-bf48-4566-bde9-b76c4a2ab6b1',
filters = list(
subject = list("watershed", "survey"),
stage = "active")))
req_perform %>%
resp_body_json
Some API endpoints may be accessed using a GET query string.
Query example (first 5 results) Query example (results containing 'jones')This resource view is not available at the moment. Click here for more information.
Embed resource view
You can copy and paste the embed code into a CMS or blog software that supports raw HTML
<iframe title="Data viewer" width="700" height="400" src="https://data.nsw.gov.au/data/en/dataset/nsw-education-nsw-government-schools-by-foei-bands-and-sa4-groupings/resource/f353262e-4710-4e99-b8fe-a8678a0a51c9/view/591aadd1-cb3e-4e0b-87c9-e43814cbfa87" frameBorder="0"></iframe>
| Field | Value |
|---|---|
| Title | NSW government schools by FOEI bands and SA4 groupings (2014-2023) |
| Date Published | 12/02/2017 |
| Last Updated | 14/10/2025 |
| Publisher/Agency | NSW Department of Education |
| Licence | Creative Commons Attribution |
| Update Frequency | Annually |
| Contact Point |
NSW Department of Education open.data@det.nsw.edu.au |
| Temporal Coverage | 01/01/2014 - 31/12/2023 |
| Geospatial Coverage |
|
| Data Portal | Data.NSW |