mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
chore: add more rules for finding disaggregation columns and parsing sped values
This commit is contained in:
parent
b992a9412b
commit
e60a30911c
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ class Sped < ApplicationRecord
|
||||||
case sped
|
case sped
|
||||||
in /active|^A$|1|Special\s*Education/i
|
in /active|^A$|1|Special\s*Education/i
|
||||||
"Special Education"
|
"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"
|
"Not Special Education"
|
||||||
in /^NA$|^#NA$|Unknown/i
|
in /^NA$|^#NA$|Unknown/i
|
||||||
"Unknown"
|
"Unknown"
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ class SurveyItemValues
|
||||||
end
|
end
|
||||||
|
|
||||||
def raw_income
|
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
|
end
|
||||||
|
|
||||||
def income
|
def income
|
||||||
|
|
@ -177,7 +177,7 @@ class SurveyItemValues
|
||||||
end
|
end
|
||||||
|
|
||||||
def raw_ell
|
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
|
end
|
||||||
|
|
||||||
def ell
|
def ell
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue