Data Notes:
-
Based on school of tuition, NSW Education Standards Authority (NESA) developed courses only, and includes subjects studied through distance education, the NSW School of Languages and Aurora College.
-
Data derived from NSW Education Standards Authority (NESA)
-
Life Skills courses are a commitment to extend the curriculum and reporting arrangements that were established for the School Certificate to HSC students with special education needs. Each Life Skills course comprises a 2 Unit Preliminary course and a 2 Unit HSC course. There are no external examinations for Life Skills courses.
-
In 2023, the Total columns include non-binary students. These students are unable to be reported separately due to system limitations.
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "a84368f3-ce23-4afd-97ad-a5c9974f746a",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'a84368f3-ce23-4afd-97ad-a5c9974f746a',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "a84368f3-ce23-4afd-97ad-a5c9974f746a",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="a84368f3-ce23-4afd-97ad-a5c9974f746a",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'a84368f3-ce23-4afd-97ad-a5c9974f746a',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "a84368f3-ce23-4afd-97ad-a5c9974f746a",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'a84368f3-ce23-4afd-97ad-a5c9974f746a', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "a84368f3-ce23-4afd-97ad-a5c9974f746a",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="a84368f3-ce23-4afd-97ad-a5c9974f746a",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='a84368f3-ce23-4afd-97ad-a5c9974f746a',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "506b0209-2475-47d8-a6e8-d8b0d8d26d47",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '506b0209-2475-47d8-a6e8-d8b0d8d26d47',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "506b0209-2475-47d8-a6e8-d8b0d8d26d47",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="506b0209-2475-47d8-a6e8-d8b0d8d26d47",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '506b0209-2475-47d8-a6e8-d8b0d8d26d47',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "506b0209-2475-47d8-a6e8-d8b0d8d26d47",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '506b0209-2475-47d8-a6e8-d8b0d8d26d47', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "506b0209-2475-47d8-a6e8-d8b0d8d26d47",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="506b0209-2475-47d8-a6e8-d8b0d8d26d47",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='506b0209-2475-47d8-a6e8-d8b0d8d26d47',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "eb326b36-9aca-4863-bd2f-e7f60e4ff8cb",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'eb326b36-9aca-4863-bd2f-e7f60e4ff8cb',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "eb326b36-9aca-4863-bd2f-e7f60e4ff8cb",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="eb326b36-9aca-4863-bd2f-e7f60e4ff8cb",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'eb326b36-9aca-4863-bd2f-e7f60e4ff8cb',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "eb326b36-9aca-4863-bd2f-e7f60e4ff8cb",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'eb326b36-9aca-4863-bd2f-e7f60e4ff8cb', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "eb326b36-9aca-4863-bd2f-e7f60e4ff8cb",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="eb326b36-9aca-4863-bd2f-e7f60e4ff8cb",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='eb326b36-9aca-4863-bd2f-e7f60e4ff8cb',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "f479fae1-89e3-4ab2-929a-c05e3b81bd1f",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'f479fae1-89e3-4ab2-929a-c05e3b81bd1f',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "f479fae1-89e3-4ab2-929a-c05e3b81bd1f",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="f479fae1-89e3-4ab2-929a-c05e3b81bd1f",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'f479fae1-89e3-4ab2-929a-c05e3b81bd1f',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "f479fae1-89e3-4ab2-929a-c05e3b81bd1f",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'f479fae1-89e3-4ab2-929a-c05e3b81bd1f', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "f479fae1-89e3-4ab2-929a-c05e3b81bd1f",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="f479fae1-89e3-4ab2-929a-c05e3b81bd1f",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='f479fae1-89e3-4ab2-929a-c05e3b81bd1f',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "98630e81-a0d0-40a8-ba63-a3c8164b068b",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '98630e81-a0d0-40a8-ba63-a3c8164b068b',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "98630e81-a0d0-40a8-ba63-a3c8164b068b",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="98630e81-a0d0-40a8-ba63-a3c8164b068b",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '98630e81-a0d0-40a8-ba63-a3c8164b068b',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "98630e81-a0d0-40a8-ba63-a3c8164b068b",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '98630e81-a0d0-40a8-ba63-a3c8164b068b', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "98630e81-a0d0-40a8-ba63-a3c8164b068b",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="98630e81-a0d0-40a8-ba63-a3c8164b068b",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='98630e81-a0d0-40a8-ba63-a3c8164b068b',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "0a661b7e-7fa9-4028-ace6-359eb37ee224",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '0a661b7e-7fa9-4028-ace6-359eb37ee224',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "0a661b7e-7fa9-4028-ace6-359eb37ee224",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="0a661b7e-7fa9-4028-ace6-359eb37ee224",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '0a661b7e-7fa9-4028-ace6-359eb37ee224',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "0a661b7e-7fa9-4028-ace6-359eb37ee224",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '0a661b7e-7fa9-4028-ace6-359eb37ee224', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "0a661b7e-7fa9-4028-ace6-359eb37ee224",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="0a661b7e-7fa9-4028-ace6-359eb37ee224",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='0a661b7e-7fa9-4028-ace6-359eb37ee224',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "c718ffd6-feb9-4149-91e9-ce45969a5b40",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'c718ffd6-feb9-4149-91e9-ce45969a5b40',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "c718ffd6-feb9-4149-91e9-ce45969a5b40",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="c718ffd6-feb9-4149-91e9-ce45969a5b40",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'c718ffd6-feb9-4149-91e9-ce45969a5b40',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "c718ffd6-feb9-4149-91e9-ce45969a5b40",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'c718ffd6-feb9-4149-91e9-ce45969a5b40', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "c718ffd6-feb9-4149-91e9-ce45969a5b40",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="c718ffd6-feb9-4149-91e9-ce45969a5b40",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='c718ffd6-feb9-4149-91e9-ce45969a5b40',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "4873df14-61ce-40c2-bf8f-8dd28b414e48",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '4873df14-61ce-40c2-bf8f-8dd28b414e48',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "4873df14-61ce-40c2-bf8f-8dd28b414e48",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="4873df14-61ce-40c2-bf8f-8dd28b414e48",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '4873df14-61ce-40c2-bf8f-8dd28b414e48',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "4873df14-61ce-40c2-bf8f-8dd28b414e48",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '4873df14-61ce-40c2-bf8f-8dd28b414e48', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "4873df14-61ce-40c2-bf8f-8dd28b414e48",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="4873df14-61ce-40c2-bf8f-8dd28b414e48",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='4873df14-61ce-40c2-bf8f-8dd28b414e48',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "8d1b65ed-f800-4b0e-b63a-476cb3a6dd22",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: '8d1b65ed-f800-4b0e-b63a-476cb3a6dd22',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "8d1b65ed-f800-4b0e-b63a-476cb3a6dd22",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="8d1b65ed-f800-4b0e-b63a-476cb3a6dd22",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = '8d1b65ed-f800-4b0e-b63a-476cb3a6dd22',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "8d1b65ed-f800-4b0e-b63a-476cb3a6dd22",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: '8d1b65ed-f800-4b0e-b63a-476cb3a6dd22', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "8d1b65ed-f800-4b0e-b63a-476cb3a6dd22",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="8d1b65ed-f800-4b0e-b63a-476cb3a6dd22",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='8d1b65ed-f800-4b0e-b63a-476cb3a6dd22',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "dc59c9ac-647f-4a55-bd66-5d361e7ebb2e",
"limit": 5,
"q": "jones"
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({
resource_id: 'dc59c9ac-647f-4a55-bd66-5d361e7ebb2e',
limit: 5,
q: 'jones'
})
})
await resp.json()
$json = @'
{
"resource_id": "dc59c9ac-647f-4a55-bd66-5d361e7ebb2e",
"limit": 5,
"q": "jones"
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.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://data.nsw.gov.au/data/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="dc59c9ac-647f-4a55-bd66-5d361e7ebb2e",
limit=5,
q="jones",
)
print(result['records'])library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id = 'dc59c9ac-647f-4a55-bd66-5d361e7ebb2e',
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/api/action/datastore_search \
-H"Authorization:$API_TOKEN" -d '
{
"resource_id": "dc59c9ac-647f-4a55-bd66-5d361e7ebb2e",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}'
const resp = await fetch(`https://data.nsw.gov.au/data/api/action/datastore_search`, {
method: 'POST',
headers: {
'content-type': 'application/json',
authorization: API_TOKEN
},
body: JSON.stringify({resource_id: 'dc59c9ac-647f-4a55-bd66-5d361e7ebb2e', filters: {
subject: ['watershed', 'survey'],
stage: 'active'
}})})
await resp.json()
$json = @'
{
"resource_id": "dc59c9ac-647f-4a55-bd66-5d361e7ebb2e",
"filters": {
"subject": ["watershed", "survey"],
"stage": "active"
}
}
'@
$response = Invoke-RestMethod https://data.nsw.gov.au/data/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/', apikey=API_TOKEN)
result = rc.action.datastore_search(
resource_id="dc59c9ac-647f-4a55-bd66-5d361e7ebb2e",
filters={
"subject": ["watershed", "survey"],
"stage": "active",
},
)
print(result['records'])
library(httr2)
req <- request("https://data.nsw.gov.au/data/api/action/datastore_search")
result <- req %>%
req_headers(Authorization = API_TOKEN) %>%
req_body_json(list(
resource_id='dc59c9ac-647f-4a55-bd66-5d361e7ebb2e',
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/dataset/nsw-education-course-enrolments-in-year-11-and-year-12-subjects-in-nsw-government-schools/resource/a84368f3-ce23-4afd-97ad-a5c9974f746a/view/8120e3c4-0c30-4c43-97dd-bb1fc75e1f3b" frameBorder="0"></iframe>
| Field | Value |
|---|---|
| Title | Course enrolments in Years 11 and 12 subjects in NSW government schools (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 |