mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 15:38:21 -07:00
min -2 on zscores
This commit is contained in:
parent
d655ab7430
commit
0c7dde7794
1 changed files with 2 additions and 2 deletions
|
|
@ -283,14 +283,14 @@ namespace :data do
|
|||
else
|
||||
school_category.update(
|
||||
nonlikert: row["NL_Value"],
|
||||
zscore: [row["Z-Score"].to_f,2].min
|
||||
zscore: [-2,[row["Z-Score"].to_f,2].min].max
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
ENV.delete('BULK_PROCESS')
|
||||
|
||||
sync_school_category_aggregates
|
||||
# sync_school_category_aggregates
|
||||
end
|
||||
|
||||
desc 'Load in custom zones for each category'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue