mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
18 lines
478 B
Ruby
18 lines
478 B
Ruby
module Analyze
|
|
module Graph
|
|
module Column
|
|
module SpedColumn
|
|
module SpedCount
|
|
def type
|
|
:student
|
|
end
|
|
|
|
def n_size(year_index)
|
|
SurveyItemResponse.where(sped:, survey_item: measure.student_survey_items, school:, grade: grades(year_index),
|
|
academic_year: academic_years[year_index]).select(:response_id).distinct.count
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|