Mid-year number of children enrolled in a preschool program that is run by a NSW government school. These government preschool classes provide full-time or part-time schooling at pre-primary level.
Data notes
-
Figures reported are children enrolled in a preschool or an Early Intervention program that is run by a NSW Government school. These government preschool classes provide full-time or part-time schooling at pre-primary level.
-
In NSW, most children receiving a preschool education or early intervention are enrolled at a government funded community preschool or in centre-based service which offers a preschool program.
-
Children aged 3 to 6 years may be enrolled in a preschool program, although programs are typically delivered to 4 and 5 year olds, on the basis that they will be starting school the following year.
-
From 2022 data that shows less than 10 students is included in the next age category for privacy reasons
Data source
Schools and Students: Statistical Bulletin. Centre for Education Statistics and Evaluation.
- Data.NSW
CKAN Data API
Access resource data via a web API with powerful query support. Further information in the main CKAN Data API and DataStore documentation.
Code examples:
curl https://data.nsw.gov.au/data/en/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "d9975e13-25b7-4b38-8162-e84871729cbb",
"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: 'd9975e13-25b7-4b38-8162-e84871729cbb',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "d9975e13-25b7-4b38-8162-e84871729cbb",
"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="d9975e13-25b7-4b38-8162-e84871729cbb",
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 = 'd9975e13-25b7-4b38-8162-e84871729cbb',
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": "d9975e13-25b7-4b38-8162-e84871729cbb",
"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: 'd9975e13-25b7-4b38-8162-e84871729cbb', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "d9975e13-25b7-4b38-8162-e84871729cbb",
"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="d9975e13-25b7-4b38-8162-e84871729cbb",
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='d9975e13-25b7-4b38-8162-e84871729cbb',
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": "bd695f19-7630-460a-b9f4-0c0d8b27be5c",
"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: 'bd695f19-7630-460a-b9f4-0c0d8b27be5c',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "bd695f19-7630-460a-b9f4-0c0d8b27be5c",
"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="bd695f19-7630-460a-b9f4-0c0d8b27be5c",
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 = 'bd695f19-7630-460a-b9f4-0c0d8b27be5c',
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": "bd695f19-7630-460a-b9f4-0c0d8b27be5c",
"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: 'bd695f19-7630-460a-b9f4-0c0d8b27be5c', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "bd695f19-7630-460a-b9f4-0c0d8b27be5c",
"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="bd695f19-7630-460a-b9f4-0c0d8b27be5c",
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='bd695f19-7630-460a-b9f4-0c0d8b27be5c',
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": "f07d5078-b5c7-42eb-956f-2203fab94ccb",
"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: 'f07d5078-b5c7-42eb-956f-2203fab94ccb',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "f07d5078-b5c7-42eb-956f-2203fab94ccb",
"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="f07d5078-b5c7-42eb-956f-2203fab94ccb",
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 = 'f07d5078-b5c7-42eb-956f-2203fab94ccb',
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": "f07d5078-b5c7-42eb-956f-2203fab94ccb",
"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: 'f07d5078-b5c7-42eb-956f-2203fab94ccb', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "f07d5078-b5c7-42eb-956f-2203fab94ccb",
"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="f07d5078-b5c7-42eb-956f-2203fab94ccb",
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='f07d5078-b5c7-42eb-956f-2203fab94ccb',
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": "29d1aa4a-b6b0-458c-918e-1ac9b00447e8",
"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: '29d1aa4a-b6b0-458c-918e-1ac9b00447e8',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "29d1aa4a-b6b0-458c-918e-1ac9b00447e8",
"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="29d1aa4a-b6b0-458c-918e-1ac9b00447e8",
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 = '29d1aa4a-b6b0-458c-918e-1ac9b00447e8',
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": "29d1aa4a-b6b0-458c-918e-1ac9b00447e8",
"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: '29d1aa4a-b6b0-458c-918e-1ac9b00447e8', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "29d1aa4a-b6b0-458c-918e-1ac9b00447e8",
"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="29d1aa4a-b6b0-458c-918e-1ac9b00447e8",
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='29d1aa4a-b6b0-458c-918e-1ac9b00447e8',
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": "392a1f31-1b18-40b9-a87d-a522350b828a",
"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: '392a1f31-1b18-40b9-a87d-a522350b828a',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "392a1f31-1b18-40b9-a87d-a522350b828a",
"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="392a1f31-1b18-40b9-a87d-a522350b828a",
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 = '392a1f31-1b18-40b9-a87d-a522350b828a',
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": "392a1f31-1b18-40b9-a87d-a522350b828a",
"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: '392a1f31-1b18-40b9-a87d-a522350b828a', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "392a1f31-1b18-40b9-a87d-a522350b828a",
"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="392a1f31-1b18-40b9-a87d-a522350b828a",
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='392a1f31-1b18-40b9-a87d-a522350b828a',
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": "41e33830-47fd-43e6-9027-7488872ecce8",
"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: '41e33830-47fd-43e6-9027-7488872ecce8',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "41e33830-47fd-43e6-9027-7488872ecce8",
"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="41e33830-47fd-43e6-9027-7488872ecce8",
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 = '41e33830-47fd-43e6-9027-7488872ecce8',
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": "41e33830-47fd-43e6-9027-7488872ecce8",
"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: '41e33830-47fd-43e6-9027-7488872ecce8', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "41e33830-47fd-43e6-9027-7488872ecce8",
"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="41e33830-47fd-43e6-9027-7488872ecce8",
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='41e33830-47fd-43e6-9027-7488872ecce8',
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": "0aa77606-6cfc-485a-aa03-02055a25fd2c",
"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: '0aa77606-6cfc-485a-aa03-02055a25fd2c',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "0aa77606-6cfc-485a-aa03-02055a25fd2c",
"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="0aa77606-6cfc-485a-aa03-02055a25fd2c",
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 = '0aa77606-6cfc-485a-aa03-02055a25fd2c',
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": "0aa77606-6cfc-485a-aa03-02055a25fd2c",
"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: '0aa77606-6cfc-485a-aa03-02055a25fd2c', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "0aa77606-6cfc-485a-aa03-02055a25fd2c",
"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="0aa77606-6cfc-485a-aa03-02055a25fd2c",
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='0aa77606-6cfc-485a-aa03-02055a25fd2c',
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": "b6b6c318-b3c0-4d16-892e-4d60f4ed972c",
"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: 'b6b6c318-b3c0-4d16-892e-4d60f4ed972c',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "b6b6c318-b3c0-4d16-892e-4d60f4ed972c",
"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="b6b6c318-b3c0-4d16-892e-4d60f4ed972c",
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 = 'b6b6c318-b3c0-4d16-892e-4d60f4ed972c',
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": "b6b6c318-b3c0-4d16-892e-4d60f4ed972c",
"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: 'b6b6c318-b3c0-4d16-892e-4d60f4ed972c', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "b6b6c318-b3c0-4d16-892e-4d60f4ed972c",
"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="b6b6c318-b3c0-4d16-892e-4d60f4ed972c",
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='b6b6c318-b3c0-4d16-892e-4d60f4ed972c',
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": "5e46671e-2b0e-4f1c-84b5-ece2900bd8b8",
"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: '5e46671e-2b0e-4f1c-84b5-ece2900bd8b8',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "5e46671e-2b0e-4f1c-84b5-ece2900bd8b8",
"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="5e46671e-2b0e-4f1c-84b5-ece2900bd8b8",
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 = '5e46671e-2b0e-4f1c-84b5-ece2900bd8b8',
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": "5e46671e-2b0e-4f1c-84b5-ece2900bd8b8",
"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: '5e46671e-2b0e-4f1c-84b5-ece2900bd8b8', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "5e46671e-2b0e-4f1c-84b5-ece2900bd8b8",
"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="5e46671e-2b0e-4f1c-84b5-ece2900bd8b8",
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='5e46671e-2b0e-4f1c-84b5-ece2900bd8b8',
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": "aefeae03-f7cf-4afb-bc1a-5ea135b30eb2",
"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: 'aefeae03-f7cf-4afb-bc1a-5ea135b30eb2',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "aefeae03-f7cf-4afb-bc1a-5ea135b30eb2",
"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="aefeae03-f7cf-4afb-bc1a-5ea135b30eb2",
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 = 'aefeae03-f7cf-4afb-bc1a-5ea135b30eb2',
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": "aefeae03-f7cf-4afb-bc1a-5ea135b30eb2",
"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: 'aefeae03-f7cf-4afb-bc1a-5ea135b30eb2', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "aefeae03-f7cf-4afb-bc1a-5ea135b30eb2",
"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="aefeae03-f7cf-4afb-bc1a-5ea135b30eb2",
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='aefeae03-f7cf-4afb-bc1a-5ea135b30eb2',
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": "65062038-27e3-43ef-becc-1d8472241cc1",
"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: '65062038-27e3-43ef-becc-1d8472241cc1',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "65062038-27e3-43ef-becc-1d8472241cc1",
"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="65062038-27e3-43ef-becc-1d8472241cc1",
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 = '65062038-27e3-43ef-becc-1d8472241cc1',
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": "65062038-27e3-43ef-becc-1d8472241cc1",
"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: '65062038-27e3-43ef-becc-1d8472241cc1', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "65062038-27e3-43ef-becc-1d8472241cc1",
"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="65062038-27e3-43ef-becc-1d8472241cc1",
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='65062038-27e3-43ef-becc-1d8472241cc1',
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-age-distribution-of-students-in-preschools-and-early-intervention-programs/resource/d9975e13-25b7-4b38-8162-e84871729cbb/view/b3eb59ac-e9c1-4fab-b0df-d8c528dc7ed3" frameBorder="0"></iframe>
| Field | Value |
|---|---|
| Title | Age distribution of students in preschools and early intervention programs (2012-2023) |
| Date Published | 12/02/2017 |
| Last Updated | 14/10/2025 |
| Publisher/Agency | NSW Department of Education |
| Licence | Creative Commons Attribution |
| Update Frequency | Annually |
| Contact Point |
NSW Department of Education open.data@det.nsw.edu.au |
| Temporal Coverage | 01/01/2012 - 31/12/2023 |
| Geospatial Coverage |
|
| Data Portal | Data.NSW |