You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqm-dashboards/app/presenters/analyze/graph/column/ell_column/ell_count.rb

19 lines
439 B

module Analyze
module Graph
module Column
module EllColumn
module EllCount
def type
:student
end
def n_size(academic_year)
SurveyItemResponse.where(ell:, survey_item: measure.student_survey_items, school:, grade: grades,
academic_year:).select(:response_id).distinct.count
end
end
end
end
end
end