diff --git a/app/models/sped.rb b/app/models/sped.rb index 7bb32e17..0b749542 100644 --- a/app/models/sped.rb +++ b/app/models/sped.rb @@ -10,7 +10,7 @@ class Sped < ApplicationRecord case sped in /active|^A$|1|Special\s*Education/i "Special Education" - in /^I$|exited|0|Not\s*Special\s*Education/i + in /^I$|exited|0|Not\s*Special\s*Education|Does\s*not\s*apply/i "Not Special Education" in /^NA$|^#NA$|Unknown/i "Unknown" diff --git a/app/services/survey_item_values.rb b/app/services/survey_item_values.rb index 0c86dd59..c28e21b4 100644 --- a/app/services/survey_item_values.rb +++ b/app/services/survey_item_values.rb @@ -169,7 +169,7 @@ class SurveyItemValues end def raw_income - @raw_income ||= value_from(pattern: /Low\s*Income|Raw\s*Income|SES-\s*SIS|EconDisadvantaged/i) + @raw_income ||= value_from(pattern: /Low\s*Income|Raw\s*Income|SES-\s*SIS|EconDisadvantaged|Income\s*SIS/i) end def income @@ -177,7 +177,7 @@ class SurveyItemValues end def raw_ell - @raw_ell ||= value_from(pattern: /EL Student First Year|Raw\s*ELL|ELL-\s*SIS/i) + @raw_ell ||= value_from(pattern: /EL Student First Year|Raw\s*ELL|ELL-*\s*SIS/i) end def ell