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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "262756d2-2fbe-4180-99c8-7558073e0aed",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '262756d2-2fbe-4180-99c8-7558073e0aed',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "262756d2-2fbe-4180-99c8-7558073e0aed",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="262756d2-2fbe-4180-99c8-7558073e0aed",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '262756d2-2fbe-4180-99c8-7558073e0aed',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "262756d2-2fbe-4180-99c8-7558073e0aed",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '262756d2-2fbe-4180-99c8-7558073e0aed', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "262756d2-2fbe-4180-99c8-7558073e0aed",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="262756d2-2fbe-4180-99c8-7558073e0aed",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='262756d2-2fbe-4180-99c8-7558073e0aed',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "3856203f-960c-4180-98ec-97d61086f794",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '3856203f-960c-4180-98ec-97d61086f794',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "3856203f-960c-4180-98ec-97d61086f794",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="3856203f-960c-4180-98ec-97d61086f794",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '3856203f-960c-4180-98ec-97d61086f794',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "3856203f-960c-4180-98ec-97d61086f794",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '3856203f-960c-4180-98ec-97d61086f794', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "3856203f-960c-4180-98ec-97d61086f794",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="3856203f-960c-4180-98ec-97d61086f794",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='3856203f-960c-4180-98ec-97d61086f794',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ea359033-136c-4256-bd20-9f8699ac8e41",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'ea359033-136c-4256-bd20-9f8699ac8e41',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "ea359033-136c-4256-bd20-9f8699ac8e41",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ea359033-136c-4256-bd20-9f8699ac8e41",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'ea359033-136c-4256-bd20-9f8699ac8e41',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ea359033-136c-4256-bd20-9f8699ac8e41",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'ea359033-136c-4256-bd20-9f8699ac8e41', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "ea359033-136c-4256-bd20-9f8699ac8e41",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ea359033-136c-4256-bd20-9f8699ac8e41",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='ea359033-136c-4256-bd20-9f8699ac8e41',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "09482796-5505-40a5-9d25-698ffdb2cd7c",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '09482796-5505-40a5-9d25-698ffdb2cd7c',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "09482796-5505-40a5-9d25-698ffdb2cd7c",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="09482796-5505-40a5-9d25-698ffdb2cd7c",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '09482796-5505-40a5-9d25-698ffdb2cd7c',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "09482796-5505-40a5-9d25-698ffdb2cd7c",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '09482796-5505-40a5-9d25-698ffdb2cd7c', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "09482796-5505-40a5-9d25-698ffdb2cd7c",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="09482796-5505-40a5-9d25-698ffdb2cd7c",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='09482796-5505-40a5-9d25-698ffdb2cd7c',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "2711d5da-881d-4ee6-b876-224053e62158",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '2711d5da-881d-4ee6-b876-224053e62158',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "2711d5da-881d-4ee6-b876-224053e62158",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="2711d5da-881d-4ee6-b876-224053e62158",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '2711d5da-881d-4ee6-b876-224053e62158',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "2711d5da-881d-4ee6-b876-224053e62158",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '2711d5da-881d-4ee6-b876-224053e62158', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "2711d5da-881d-4ee6-b876-224053e62158",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="2711d5da-881d-4ee6-b876-224053e62158",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='2711d5da-881d-4ee6-b876-224053e62158',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='4ddd96fe-2057-4576-aec9-bf0a0b5fd7c1',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "85bb5c93-ea45-4093-873f-6b83c92526fc",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '85bb5c93-ea45-4093-873f-6b83c92526fc',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "85bb5c93-ea45-4093-873f-6b83c92526fc",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="85bb5c93-ea45-4093-873f-6b83c92526fc",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '85bb5c93-ea45-4093-873f-6b83c92526fc',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "85bb5c93-ea45-4093-873f-6b83c92526fc",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '85bb5c93-ea45-4093-873f-6b83c92526fc', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "85bb5c93-ea45-4093-873f-6b83c92526fc",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="85bb5c93-ea45-4093-873f-6b83c92526fc",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='85bb5c93-ea45-4093-873f-6b83c92526fc',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ded0e736-bbe0-4719-9b65-34abb7fc5627",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'ded0e736-bbe0-4719-9b65-34abb7fc5627',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "ded0e736-bbe0-4719-9b65-34abb7fc5627",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ded0e736-bbe0-4719-9b65-34abb7fc5627",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'ded0e736-bbe0-4719-9b65-34abb7fc5627',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "ded0e736-bbe0-4719-9b65-34abb7fc5627",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'ded0e736-bbe0-4719-9b65-34abb7fc5627', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "ded0e736-bbe0-4719-9b65-34abb7fc5627",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="ded0e736-bbe0-4719-9b65-34abb7fc5627",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='ded0e736-bbe0-4719-9b65-34abb7fc5627',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "fbe78517-e3ae-4dba-ac9d-aff6f0c742ee",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'fbe78517-e3ae-4dba-ac9d-aff6f0c742ee',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "fbe78517-e3ae-4dba-ac9d-aff6f0c742ee",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="fbe78517-e3ae-4dba-ac9d-aff6f0c742ee",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'fbe78517-e3ae-4dba-ac9d-aff6f0c742ee',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "fbe78517-e3ae-4dba-ac9d-aff6f0c742ee",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'fbe78517-e3ae-4dba-ac9d-aff6f0c742ee', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "fbe78517-e3ae-4dba-ac9d-aff6f0c742ee",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="fbe78517-e3ae-4dba-ac9d-aff6f0c742ee",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='fbe78517-e3ae-4dba-ac9d-aff6f0c742ee',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "5d4f8e93-c5fd-4744-b656-3e50f48bd32b",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '5d4f8e93-c5fd-4744-b656-3e50f48bd32b',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "5d4f8e93-c5fd-4744-b656-3e50f48bd32b",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/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://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="5d4f8e93-c5fd-4744-b656-3e50f48bd32b",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '5d4f8e93-c5fd-4744-b656-3e50f48bd32b',
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://uatweb.datansw.links.com.au/data/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "5d4f8e93-c5fd-4744-b656-3e50f48bd32b",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://uatweb.datansw.links.com.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '5d4f8e93-c5fd-4744-b656-3e50f48bd32b', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "5d4f8e93-c5fd-4744-b656-3e50f48bd32b",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://uatweb.datansw.links.com.au/data/api/action/datastore_search`
-Method Post -Body $json -Headers @{"Authorization"="$API_TOKEN"}
$response.result.records
from ckanapi import RemoteCKAN
rc = RemoteCKAN('https://uatweb.datansw.links.com.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="5d4f8e93-c5fd-4744-b656-3e50f48bd32b",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://uatweb.datansw.links.com.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='5d4f8e93-c5fd-4744-b656-3e50f48bd32b',
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://uatweb.datansw.links.com.au/data/dataset/nsw-education-nsw-government-schools-by-foei-bands-and-sa4-groupings/resource/5d4f8e93-c5fd-4744-b656-3e50f48bd32b/view/4e38decc-c73f-4972-bb37-b127c6bca056" frameBorder="0"></iframe>
| Field | Value |
|---|---|
| Title | NSW government schools by FOEI bands and SA4 groupings (2014-2022) |
| Date Published | 19/06/2024 |
| Last Updated | 19/06/2024 |
| Publisher/Agency | NSW Department of Education |
| Licence | Creative Commons Attribution |
| Update Frequency | annual |
| Contact Point |
NSW Department of Education Data Services <data.services@det.nsw.edu.au> |
| Temporal Coverage | 01/01/2014 - 31/12/2022 |
| Geospatial Coverage |
|
| Data Portal | Data.NSW |