Skip to contents

Detects which of the four NH DOE schema eras the raw data belongs to and normalizes it to one consistent long-format schema with standard subject, grade, subgroup, and entity naming.

Usage

process_assessment(raw_data, end_year)

Arguments

raw_data

Data frame from get_raw_assessment() or import_local_assessment().

end_year

School year end (e.g., 2024 = 2023-24 school year).

Value

Processed data frame with one row per entity x subject x grade x subgroup, carrying counts (always banded), proficiency-level percentages, and entity flags.