Data Notes:
-
'SA4 grouping’ and ‘remoteness’ describe areas within NSW. Both are ABS standard categories. SA4 group relates to a predefined geographical area, based on population and labour markets, whereas remoteness is based on density of population.
-
From 2016 onwards, geographical data is reported by the ABS remoteness structure. The ABS remoteness structure uses 5 categories: Major Cities, Inner Regional, Outer Regional, Remote and Very Remote. Prior to 2016, MCEECDYA categories were used, which divided schools into four categories.
-
Since 2014, the department has used a geographical structure based on the new ABS Australian Statistical Geography Standard (ASGS). Groups of ASGS Statistical Area 4 (SA4) boundaries in NSW have been combined into 11 groups for reporting and publication of department data. Previous publications compared enrolments in DEC regions. Further information on SA4 groups 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": "28bee503-4275-4deb-807c-71a630928cc1",
"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: '28bee503-4275-4deb-807c-71a630928cc1',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "28bee503-4275-4deb-807c-71a630928cc1",
"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="28bee503-4275-4deb-807c-71a630928cc1",
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 = '28bee503-4275-4deb-807c-71a630928cc1',
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": "28bee503-4275-4deb-807c-71a630928cc1",
"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: '28bee503-4275-4deb-807c-71a630928cc1', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "28bee503-4275-4deb-807c-71a630928cc1",
"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="28bee503-4275-4deb-807c-71a630928cc1",
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='28bee503-4275-4deb-807c-71a630928cc1',
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": "a18e1c18-d319-4929-b49d-f899ee5a8a55",
"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: 'a18e1c18-d319-4929-b49d-f899ee5a8a55',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "a18e1c18-d319-4929-b49d-f899ee5a8a55",
"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="a18e1c18-d319-4929-b49d-f899ee5a8a55",
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 = 'a18e1c18-d319-4929-b49d-f899ee5a8a55',
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": "a18e1c18-d319-4929-b49d-f899ee5a8a55",
"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: 'a18e1c18-d319-4929-b49d-f899ee5a8a55', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "a18e1c18-d319-4929-b49d-f899ee5a8a55",
"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="a18e1c18-d319-4929-b49d-f899ee5a8a55",
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='a18e1c18-d319-4929-b49d-f899ee5a8a55',
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": "ff549c77-db17-4b0e-b818-4d184fa34b8b",
"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: 'ff549c77-db17-4b0e-b818-4d184fa34b8b',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "ff549c77-db17-4b0e-b818-4d184fa34b8b",
"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="ff549c77-db17-4b0e-b818-4d184fa34b8b",
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 = 'ff549c77-db17-4b0e-b818-4d184fa34b8b',
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": "ff549c77-db17-4b0e-b818-4d184fa34b8b",
"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: 'ff549c77-db17-4b0e-b818-4d184fa34b8b', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "ff549c77-db17-4b0e-b818-4d184fa34b8b",
"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="ff549c77-db17-4b0e-b818-4d184fa34b8b",
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='ff549c77-db17-4b0e-b818-4d184fa34b8b',
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": "4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3",
"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: '4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3",
"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="4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3",
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 = '4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3',
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": "4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3",
"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: '4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3",
"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="4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3",
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='4cd16a37-0386-4e6a-bd5b-6d319cd4f7a3',
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": "a8fa7230-99ed-4f8b-afd4-17f3ef209d20",
"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: 'a8fa7230-99ed-4f8b-afd4-17f3ef209d20',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "a8fa7230-99ed-4f8b-afd4-17f3ef209d20",
"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="a8fa7230-99ed-4f8b-afd4-17f3ef209d20",
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 = 'a8fa7230-99ed-4f8b-afd4-17f3ef209d20',
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": "a8fa7230-99ed-4f8b-afd4-17f3ef209d20",
"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: 'a8fa7230-99ed-4f8b-afd4-17f3ef209d20', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "a8fa7230-99ed-4f8b-afd4-17f3ef209d20",
"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="a8fa7230-99ed-4f8b-afd4-17f3ef209d20",
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='a8fa7230-99ed-4f8b-afd4-17f3ef209d20',
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": "620376e8-2a81-4283-b929-17ca13894f13",
"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: '620376e8-2a81-4283-b929-17ca13894f13',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "620376e8-2a81-4283-b929-17ca13894f13",
"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="620376e8-2a81-4283-b929-17ca13894f13",
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 = '620376e8-2a81-4283-b929-17ca13894f13',
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": "620376e8-2a81-4283-b929-17ca13894f13",
"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: '620376e8-2a81-4283-b929-17ca13894f13', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "620376e8-2a81-4283-b929-17ca13894f13",
"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="620376e8-2a81-4283-b929-17ca13894f13",
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='620376e8-2a81-4283-b929-17ca13894f13',
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": "ee41dd7d-ecbe-45aa-bc92-9a615c5390c5",
"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: 'ee41dd7d-ecbe-45aa-bc92-9a615c5390c5',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "ee41dd7d-ecbe-45aa-bc92-9a615c5390c5",
"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="ee41dd7d-ecbe-45aa-bc92-9a615c5390c5",
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 = 'ee41dd7d-ecbe-45aa-bc92-9a615c5390c5',
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": "ee41dd7d-ecbe-45aa-bc92-9a615c5390c5",
"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: 'ee41dd7d-ecbe-45aa-bc92-9a615c5390c5', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "ee41dd7d-ecbe-45aa-bc92-9a615c5390c5",
"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="ee41dd7d-ecbe-45aa-bc92-9a615c5390c5",
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='ee41dd7d-ecbe-45aa-bc92-9a615c5390c5',
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": "000276a8-df31-4ae1-90bd-8b3ad240c9ad",
"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: '000276a8-df31-4ae1-90bd-8b3ad240c9ad',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "000276a8-df31-4ae1-90bd-8b3ad240c9ad",
"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="000276a8-df31-4ae1-90bd-8b3ad240c9ad",
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 = '000276a8-df31-4ae1-90bd-8b3ad240c9ad',
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": "000276a8-df31-4ae1-90bd-8b3ad240c9ad",
"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: '000276a8-df31-4ae1-90bd-8b3ad240c9ad', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "000276a8-df31-4ae1-90bd-8b3ad240c9ad",
"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="000276a8-df31-4ae1-90bd-8b3ad240c9ad",
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='000276a8-df31-4ae1-90bd-8b3ad240c9ad',
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": "4870e147-e886-4fcd-b33a-7927204a1786",
"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: '4870e147-e886-4fcd-b33a-7927204a1786',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "4870e147-e886-4fcd-b33a-7927204a1786",
"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="4870e147-e886-4fcd-b33a-7927204a1786",
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 = '4870e147-e886-4fcd-b33a-7927204a1786',
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": "4870e147-e886-4fcd-b33a-7927204a1786",
"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: '4870e147-e886-4fcd-b33a-7927204a1786', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "4870e147-e886-4fcd-b33a-7927204a1786",
"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="4870e147-e886-4fcd-b33a-7927204a1786",
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='4870e147-e886-4fcd-b33a-7927204a1786',
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": "1376abd9-20e0-41d0-9f9f-d7469981b93d",
"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: '1376abd9-20e0-41d0-9f9f-d7469981b93d',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "1376abd9-20e0-41d0-9f9f-d7469981b93d",
"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="1376abd9-20e0-41d0-9f9f-d7469981b93d",
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 = '1376abd9-20e0-41d0-9f9f-d7469981b93d',
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": "1376abd9-20e0-41d0-9f9f-d7469981b93d",
"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: '1376abd9-20e0-41d0-9f9f-d7469981b93d', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "1376abd9-20e0-41d0-9f9f-d7469981b93d",
"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="1376abd9-20e0-41d0-9f9f-d7469981b93d",
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='1376abd9-20e0-41d0-9f9f-d7469981b93d',
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-remoteness-and-sa4-groupings/resource/1376abd9-20e0-41d0-9f9f-d7469981b93d/view/f8d918de-2441-43d2-be9e-b579ff4fd88d" frameBorder="0"></iframe>
| Field | Value |
|---|---|
| Title | NSW government schools by remoteness and SA4 grouping (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 |