mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
add disaggregation glossary
This commit is contained in:
parent
ab39928080
commit
d4db4e0fa2
9 changed files with 158 additions and 101 deletions
|
|
@ -5,14 +5,14 @@ class Sped < ApplicationRecord
|
|||
|
||||
friendly_id :designation, use: [:slugged]
|
||||
def self.to_designation(sped)
|
||||
return "Not Special Education" if sped.blank? || sped.nil?
|
||||
return "Not Special Education" if sped.blank?
|
||||
|
||||
case sped
|
||||
in /active|^A$|1|Special\s*Education/i
|
||||
in /active|^A$|1|^Special\s*Education$/i
|
||||
"Special Education"
|
||||
in /^I$|exited|0|Not\s*Special\s*Education|Does\s*not\s*apply/i
|
||||
in /^I$|exited|0|^Not\s*Special\s*Education$|Does\s*not\s*apply/i
|
||||
"Not Special Education"
|
||||
in /^NA$|^#NA$|Unknown/i
|
||||
in %r{^#*N/*A$|Unknown}i
|
||||
"Unknown"
|
||||
else
|
||||
puts "************************************"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue