mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
fixing bug with nonlikert data
This commit is contained in:
parent
075e0afe33
commit
5f89245ca0
1 changed files with 3 additions and 2 deletions
|
|
@ -378,14 +378,15 @@ namespace :data do
|
|||
school_category.update(
|
||||
nonlikert: row["NL_Value"],
|
||||
zscore: [-2,[row["Likert_Value"].to_f-3,2].min].max,
|
||||
year: "2018"
|
||||
year: "2018",
|
||||
valid_child_count: 1
|
||||
)
|
||||
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