Sample school enrollment data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one student on the roll of one of twelve fictional schools in a fictional district for the 2024-25 school year: grade, age, enrollment date, status, school days enrolled and absent, attendance rate and four yes/no program flags. Use it for enrollment counts, attendance rates and group comparisons. No real students or schools.
More practice tables like this one: all 22 newer sample datasets.
First rows
point at a column to light it up
| student_idtext | schooltext | school_leveltext | gradenumber | agenumber | enrollment_datedate | statustext | days_enrollednumber | days_absentnumber | attendance_rate_pctnumber | free_lunch_eligibleyes/no | english_learneryes/no | special_educationyes/no | bus_rideryes/no |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SE60001 | Brookfield Elementary | Elementary | 1 | 7 | 2024-12-19 | Enrolled | 19 | 1 | 94.7 | FALSE | FALSE | FALSE | TRUE |
| SE60002 | Granite Bluff High | High | 12 | 17 | 2024-08-26 | Enrolled | 100 | 1 | 99 | FALSE | FALSE | TRUE | FALSE |
| SE60003 | Summit Ridge Elementary | Elementary | 4 | 9 | 2024-11-09 | Enrolled | 47 | 3 | 93.6 | FALSE | FALSE | FALSE | TRUE |
| SE60004 | North Ridge Middle | Middle | 7 | 12 | 2024-08-26 | Enrolled | 100 | 2 | 98 | FALSE | FALSE | TRUE | FALSE |
| SE60005 | North Ridge Middle | Middle | 7 | 13 | 2024-08-26 | Enrolled | 100 | 17 | 83 | FALSE | FALSE | FALSE | TRUE |
| SE60006 | North Ridge Middle | Middle | 6 | 12 | 2024-08-26 | Enrolled | 100 | 11 | 89 | TRUE | FALSE | FALSE | FALSE |
| SE60007 | Brookfield Elementary | Elementary | 1 | 7 | 2024-08-26 | Enrolled | 100 | 4 | 96 | FALSE | FALSE | FALSE | TRUE |
| SE60008 | Oak Valley Middle | Middle | 7 | 12 | 2024-08-26 | Enrolled | 100 | 15 | 85 | TRUE | FALSE | FALSE | FALSE |
| SE60009 | North Ridge Middle | Middle | 8 | 14 | 2024-08-26 | Enrolled | 100 | 17 | 83 | TRUE | TRUE | FALSE | FALSE |
| SE60010 | Westfield High | High | 12 | 17 | 2024-08-26 | Enrolled | 100 | 12 | 88 | TRUE | FALSE | FALSE | FALSE |
Students by school level
students, 1,000-row file
Show as a table
| school_level | value |
|---|---|
| Elementary | 424 |
| High | 329 |
| Middle | 247 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| student_id | text | Student number |
| school | text | Fictional school in a fictional district |
| school_level | text | Elementary (K-5), Middle (6-8) or High (9-12) |
| grade | integer | Grade 0 (kindergarten) to 12 |
| age | integer | Age on 1 September 2024: grade + 5 or grade + 6 |
| enrollment_date | date | First day on the school roll (2024-08-26 for most students) |
| status | text | Enrolled, Transferred out or Withdrawn (as of 2025-01-31) |
| days_enrolled | integer | School days on the roll up to 2025-01-31 |
| days_absent | integer | School days missed (at most days_enrolled) |
| attendance_rate_pct | decimal | 100 x (days_enrolled - days_absent) / days_enrolled, one decimal |
| free_lunch_eligible | boolean | Eligible for free or reduced-price lunch |
| english_learner | boolean | Receives English-language support |
| special_education | boolean | Has an individual education plan |
| bus_rider | boolean | Rides a school bus |
Practice questions
answers checked in SQL and in Python
How many students are enrolled at each school?
Eastgate High 134; North Ridge Middle 108; Westfield High 102; Granite Bluff High 93; Brookfield Elementary 86; Cedar Hollow Elementary 83; Prairie View Elementary 77; Oak Valley Middle 74; Willow Creek Elementary 67; Riverside Middle 65; Summit Ridge Elementary 63; Harbor Point Elementary 48
Excel
=COUNTIF(B:B,"Eastgate High")SQL
SELECT school, COUNT(*) AS n FROM school_enrollment GROUP BY school ORDER BY n DESC, schoolFile: school-enrollment-1000
Average attendance rate by school level?
Middle 92.6%; Elementary 92.3%; High 87.6%
Excel
=AVERAGEIF(C:C,"High",J:J)SQL
SELECT school_level, ROUND(AVG(attendance_rate_pct),1) AS a FROM school_enrollment GROUP BY school_level ORDER BY a DESC, school_levelFile: school-enrollment-1000
Share of students eligible for free or reduced-price lunch?
44.1%
Excel
=COUNTIF(K:K,TRUE)/1000SQL
SELECT ROUND(100.0*SUM(free_lunch_eligible)/COUNT(*),1) FROM school_enrollmentFile: school-enrollment-1000