A simple, consistent interface for accessing New Hampshire school data in Python and R.
An R package for downloading and processing school enrollment data for New Hampshire public schools. Data is sourced directly from the New Hampshire Department of Education (NH DOE) iPlatform reporting system.
Main Functions
fetch_enrDownload enrollment data for a single year
fetch_enr_multiDownload enrollment data for multiple years
tidy_enrTransform wide enrollment data to long format
get_available_yearsGet the range of available years
import_local_enrollmentImport manually downloaded enrollment file
Data Source
Data is sourced from the New Hampshire Department of Education:
NH DOE iPlatform: https://my.doe.nh.gov/iPlatform
Enrollment Reports: District and school-level fall enrollment
Historical data: Approximately 10 years available
Available Reports
District Fall Enrollment: Pre-K through 12 by district
Public School Enrollments by Grade: School-level enrollment
Enrollments by Grade: County, town, and other breakdowns
New Hampshire School System
New Hampshire's school system includes:
Approximately 162 school districts
456 public schools
School Administrative Units (SAUs) that may cover multiple districts
Public charter schools
Approximately 160,000 students enrolled (2024)
Identifier System
District ID: State-assigned district identifier
School ID: State-assigned school identifier
SAU Number: School Administrative Unit number
Manual Download Fallback
If automated download fails, you can manually download data from the
NH DOE iPlatform and import it using import_local_enrollment.
Author
Maintainer: Al Martin almartin@example.com