PhiladelphiaAlgorithm
Reading the state's wide-format datafile
The state's Future Ready datafile has one row per school and hundreds of columns named measure_subgroup. The loader recognizes a fixed list of measure prefixes and subgroup suffixes, joins the row to a Philadelphia school through state IDs, and stores one cell per recognized column.
- 1How it was computedSteps
- Map AUN + Schl → ULCS via the 2024-25 Master School List; rows for schools not in the directory are dropped.
- For each recognized measure × subgroup column, store the value; 'IS', '--', '*' → suppressed.
- Store under the year the measure describes: the attendance indicator lags one year (workbook year − 1, per PDE's glossary); every other measure keeps the workbook's report year.
- Older long-format files (2018-19, 2019-20, 2020-21 workbooks) are read row-by-row by a separate loader (futurereadypa_longformat_attendance.ts), keeping only the 'Percent Regular Attendance' element.
Inputs: futurereadypa_performance_<year>
Evidence: futurereadypa_performance.ts — search "function parseColumn"
- 2Assumptions & caveatsAssumptions
- Column names are stable across the 2021-22 to 2024-25 files (verified from first-fetch findings before loading each year).
- Schools closed before 2024-25 are absent from every year (survivor-only panel).