Hire of school facilities revenue as included in the NSW Department of Education’s Annual Report, and as included in individual NSW government school Annual Reports.
Data Notes:
-
The NSW Department of Education encourages local communities to use school buildings, grounds, playing fields and facilities for appropriate purposes.
-
The principal is responsible for approving the community use of school facilities following consultation with the school community. School facilities must only be used for activities consistent with the Values in NSW public schools policy.
-
Shared use of school facilities should not be a financial burden to the school or the department. Schools may charge appropriate usage fees or, in some cases, provide free use of facilities. Refer to the Sharing of school facilities policy, and the General community use of school facilities page.
-
For calendar years 2020, 2021, and 2022, fee waivers provided to external parties for hire of school facilities (due to Covid-19) were reported as hire of school facilities revenue.
Data source:
- Financial Controlling, Finance Directorate, NSW Department of Education
- 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": "74532e94-2056-4d72-9f3f-0bfc94456ec4",
"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: '74532e94-2056-4d72-9f3f-0bfc94456ec4',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "74532e94-2056-4d72-9f3f-0bfc94456ec4",
"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="74532e94-2056-4d72-9f3f-0bfc94456ec4",
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 = '74532e94-2056-4d72-9f3f-0bfc94456ec4',
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": "74532e94-2056-4d72-9f3f-0bfc94456ec4",
"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: '74532e94-2056-4d72-9f3f-0bfc94456ec4', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "74532e94-2056-4d72-9f3f-0bfc94456ec4",
"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="74532e94-2056-4d72-9f3f-0bfc94456ec4",
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='74532e94-2056-4d72-9f3f-0bfc94456ec4',
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": "8ba5cce6-35f9-4829-a10f-bbd63527ee56",
"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: '8ba5cce6-35f9-4829-a10f-bbd63527ee56',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "8ba5cce6-35f9-4829-a10f-bbd63527ee56",
"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="8ba5cce6-35f9-4829-a10f-bbd63527ee56",
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 = '8ba5cce6-35f9-4829-a10f-bbd63527ee56',
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": "8ba5cce6-35f9-4829-a10f-bbd63527ee56",
"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: '8ba5cce6-35f9-4829-a10f-bbd63527ee56', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "8ba5cce6-35f9-4829-a10f-bbd63527ee56",
"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="8ba5cce6-35f9-4829-a10f-bbd63527ee56",
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='8ba5cce6-35f9-4829-a10f-bbd63527ee56',
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": "61ae4d33-f149-47f4-8498-5fc1c8cb5e1d",
"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: '61ae4d33-f149-47f4-8498-5fc1c8cb5e1d',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "61ae4d33-f149-47f4-8498-5fc1c8cb5e1d",
"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="61ae4d33-f149-47f4-8498-5fc1c8cb5e1d",
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 = '61ae4d33-f149-47f4-8498-5fc1c8cb5e1d',
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": "61ae4d33-f149-47f4-8498-5fc1c8cb5e1d",
"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: '61ae4d33-f149-47f4-8498-5fc1c8cb5e1d', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "61ae4d33-f149-47f4-8498-5fc1c8cb5e1d",
"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="61ae4d33-f149-47f4-8498-5fc1c8cb5e1d",
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='61ae4d33-f149-47f4-8498-5fc1c8cb5e1d',
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": "afbe054c-e1dd-41a4-831b-f8946fee26e7",
"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: 'afbe054c-e1dd-41a4-831b-f8946fee26e7',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "afbe054c-e1dd-41a4-831b-f8946fee26e7",
"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="afbe054c-e1dd-41a4-831b-f8946fee26e7",
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 = 'afbe054c-e1dd-41a4-831b-f8946fee26e7',
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": "afbe054c-e1dd-41a4-831b-f8946fee26e7",
"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: 'afbe054c-e1dd-41a4-831b-f8946fee26e7', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "afbe054c-e1dd-41a4-831b-f8946fee26e7",
"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="afbe054c-e1dd-41a4-831b-f8946fee26e7",
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='afbe054c-e1dd-41a4-831b-f8946fee26e7',
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": "22635133-f493-49d2-a1ce-13d424ce9d07",
"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: '22635133-f493-49d2-a1ce-13d424ce9d07',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "22635133-f493-49d2-a1ce-13d424ce9d07",
"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="22635133-f493-49d2-a1ce-13d424ce9d07",
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 = '22635133-f493-49d2-a1ce-13d424ce9d07',
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": "22635133-f493-49d2-a1ce-13d424ce9d07",
"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: '22635133-f493-49d2-a1ce-13d424ce9d07', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "22635133-f493-49d2-a1ce-13d424ce9d07",
"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="22635133-f493-49d2-a1ce-13d424ce9d07",
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='22635133-f493-49d2-a1ce-13d424ce9d07',
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": "fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb",
"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: 'fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb",
"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="fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb",
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 = 'fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb',
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": "fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb",
"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: 'fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb",
"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="fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb",
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='fbd7a7c4-d59c-46c1-89d0-0073e33a9bfb',
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": "87de9855-c0ca-4825-b5f9-4da6ee8d32d9",
"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: '87de9855-c0ca-4825-b5f9-4da6ee8d32d9',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "87de9855-c0ca-4825-b5f9-4da6ee8d32d9",
"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="87de9855-c0ca-4825-b5f9-4da6ee8d32d9",
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 = '87de9855-c0ca-4825-b5f9-4da6ee8d32d9',
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": "87de9855-c0ca-4825-b5f9-4da6ee8d32d9",
"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: '87de9855-c0ca-4825-b5f9-4da6ee8d32d9', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "87de9855-c0ca-4825-b5f9-4da6ee8d32d9",
"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="87de9855-c0ca-4825-b5f9-4da6ee8d32d9",
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='87de9855-c0ca-4825-b5f9-4da6ee8d32d9',
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": "2745ab7a-17a8-4cb7-ad3e-631acffba92f",
"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: '2745ab7a-17a8-4cb7-ad3e-631acffba92f',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "2745ab7a-17a8-4cb7-ad3e-631acffba92f",
"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="2745ab7a-17a8-4cb7-ad3e-631acffba92f",
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 = '2745ab7a-17a8-4cb7-ad3e-631acffba92f',
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": "2745ab7a-17a8-4cb7-ad3e-631acffba92f",
"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: '2745ab7a-17a8-4cb7-ad3e-631acffba92f', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "2745ab7a-17a8-4cb7-ad3e-631acffba92f",
"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="2745ab7a-17a8-4cb7-ad3e-631acffba92f",
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='2745ab7a-17a8-4cb7-ad3e-631acffba92f',
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": "b438dd70-3460-4b02-936a-afe74869b4bd",
"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: 'b438dd70-3460-4b02-936a-afe74869b4bd',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "b438dd70-3460-4b02-936a-afe74869b4bd",
"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="b438dd70-3460-4b02-936a-afe74869b4bd",
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 = 'b438dd70-3460-4b02-936a-afe74869b4bd',
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": "b438dd70-3460-4b02-936a-afe74869b4bd",
"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: 'b438dd70-3460-4b02-936a-afe74869b4bd', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "b438dd70-3460-4b02-936a-afe74869b4bd",
"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="b438dd70-3460-4b02-936a-afe74869b4bd",
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='b438dd70-3460-4b02-936a-afe74869b4bd',
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": "a2962b8d-0768-4cf4-9183-fb9638afa70a",
"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: 'a2962b8d-0768-4cf4-9183-fb9638afa70a',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "a2962b8d-0768-4cf4-9183-fb9638afa70a",
"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="a2962b8d-0768-4cf4-9183-fb9638afa70a",
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 = 'a2962b8d-0768-4cf4-9183-fb9638afa70a',
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": "a2962b8d-0768-4cf4-9183-fb9638afa70a",
"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: 'a2962b8d-0768-4cf4-9183-fb9638afa70a', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "a2962b8d-0768-4cf4-9183-fb9638afa70a",
"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="a2962b8d-0768-4cf4-9183-fb9638afa70a",
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='a2962b8d-0768-4cf4-9183-fb9638afa70a',
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-public-schools-income-received-from-hire-of-school-facilities/resource/74532e94-2056-4d72-9f3f-0bfc94456ec4/view/fbf75412-1480-44bb-bfe7-214434571d3c" frameBorder="0"></iframe>
| Field | Value |
|---|---|
| Title | NSW public schools’ revenue from hire of school facilities (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 Data Services <data.services@det.nsw.edu.au> |
| Temporal Coverage | 01/01/2014 - 31/12/2023 |
| Geospatial Coverage |
|
| Data Portal | Data.NSW |