NSW Government Primary School Students by Age and Year Level, 2011-2024
Counts of primary students in New South Wales government schools, broken down by age band, sex and school year (Kindergarten to Year 6) for 2011 to 2024. A caller gets 175 rows, one per age band or subtotal per year, with boys, girls and combined totals.
Endpoints
NSW Government Primary School Students by Age and Year Level, 2011-2024: search
/v1/records/nsw-government-primary-students-age-grade-sex/search10¢ per call| Query parameter | Description |
|---|---|
q | Words to find (prefix match, all must appear) in: year, age band, year 6 girls, year 1 boys. |
where | Exact-match filter `field:value`, repeatable, on: `years_months`, `year`. |
fields | Comma-separated field slugs (below). Omit for all. |
limit | Records per page, 1 to 50 (default 25). |
offset | Items to skip, for the next page (`next_offset`). |
curl -X GET 'https://api.microburbs.com.au/v1/records/nsw-government-primary-students-age-grade-sex/search?q=2024' \
-H 'Authorization: Bearer test'test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.
NSW Government Primary School Students by Age and Year Level, 2011-2024: one record
/v1/records/nsw-government-primary-students-age-grade-sex/{record_key}5¢ per call| Query parameter | Description |
|---|---|
record_key | The record's record id. |
fields | Comma-separated field slugs (below). Omit for all. |
curl -X GET 'https://api.microburbs.com.au/v1/records/nsw-government-primary-students-age-grade-sex/1' \
-H 'Authorization: Bearer test'test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.
About this dataset
New South Wales government schools, statewide, for the years 2011 to 2024. The table has 175 rows. There is no breakdown by school, suburb, LGA or region. Current to 2026-03-01; refreshed Yearly, as new collection years are published..
What it is
A statewide table of primary school enrolments in NSW government schools. Each row is an age band (for example Under 5, 5-5:11, 7-7:11) or a subtotal in a given year. Columns give boys and girls for Kindergarten and Years 1 to 6, plus row totals.
What it shows
It shows how students are spread across ages within each school year, and how that has changed from 2011 to 2024. It also shows the boy and girl split. This lets you spot students who are younger or older than the typical age for their grade.
Why use it
Age-for-grade patterns inform school planning, enrolment forecasting and research on school-entry age and delayed starts. Analysts can use the series to compare cohort sizes over time. It is statewide only, so it suits context for area analysis rather than local catchment work.
How it is built
We hold the published table as rows, one per age band or subtotal per year. Counts were collected mid-year, at the first Friday in August. All primary students are treated as full-time. From 2020, students in mainstream support classes are counted by their underlying grade, and earlier years left them out. Special-purpose schools are excluded, while distance education and Opportunity Class students are included in their grade. Some count columns are stored as text, with commas, decimals or asterisks, and need cleaning before use.
Shortcomings
- Many grade columns are blank for 57% to 60% of rows, so the table is sparse and some years or age bands have only totals.
- Grade counts are stored as text and mix formats such as '26,393', '518.0' and '13*'. They must be parsed before analysis.
- Students in atypical age groups are placed in the nearest band, marked with an asterisk, so a row may not sum to its reported total.
- From 2020 mainstream support class students are included, which creates a series break against 2011-2019. Special-purpose schools and non-government schools are never included.
Fields
| Field | Unit | Description |
|---|---|---|
record_idRecord ID | Identifier for the row within this dataset. | |
k_boysKindergarten boys | Number of boys in Kindergarten for the age band and year; often blank and stored as text. | |
k_girlsKindergarten girls | Number of girls in Kindergarten for the age band and year; often blank and stored as text. | |
primary_totalPrimary total students | count | Total primary students, boys and girls combined, for the row. |
total_boysTotal boys | count | Total boys across Kindergarten to Year 6 for the row. |
total_girlsTotal girls | count | Total girls across Kindergarten to Year 6 for the row. |
y1_boysYear 1 boys | Number of boys in Year 1 for the age band and year; often blank and stored as text. | |
y1_girlsYear 1 girls | Number of girls in Year 1 for the age band and year; often blank and stored as text. | |
y2_boysYear 2 boys | Number of boys in Year 2 for the age band and year; often blank and stored as text. | |
y2_girlsYear 2 girls | Number of girls in Year 2 for the age band and year; often blank and stored as text. | |
y3_boysYear 3 boys | Number of boys in Year 3 for the age band and year; often blank and stored as text. | |
y3_girlsYear 3 girls | Number of girls in Year 3 for the age band and year; often blank and stored as text. | |
y4_boysYear 4 boys | Number of boys in Year 4 for the age band and year; often blank and stored as text. | |
y4_girlsYear 4 girls | Number of girls in Year 4 for the age band and year; often blank and stored as text. | |
y5_boysYear 5 boys | Number of boys in Year 5 for the age band and year; may carry an asterisk for atypical ages. | |
y5_girlsYear 5 girls | Number of girls in Year 5 for the age band and year; may carry an asterisk for atypical ages. | |
y6_boysYear 6 boys | Number of boys in Year 6 for the age band and year; often blank and stored as text. | |
y6_girlsYear 6 girls | Number of girls in Year 6 for the age band and year; often blank and stored as text. | |
years_monthsAge band | Age band in years and months, such as 'Under 5' or '7-7:11', or a label such as 'Subtotal'. | |
yearYear | year | Collection year, from 2011 to 2024. |
Data source: NSW Government
