Builds what the comparison group's share would read with the focal group's mix of grades. Each band's comparison share is pooled from rows published by band where the state has them, otherwise from schools whose span sits inside that band. The composite weights those shares by the focal group's enrollment in each band. A band the focal group enrolls with no comparison data leaves the composite NA with the reason.
Arguments
- rows
Rows of
fetch_sped_share()for one year.- focal, comparison
As in
sped_all_vs_all().- focal_bands
Data frame: grade_band, n_enrolled, the focal group's K-12 enrollment by band, from
fetch_enr()grade rows.