mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
add oneoff script to load wareham data
This commit is contained in:
parent
28e7f1fcb2
commit
1e3cebf223
1 changed files with 2 additions and 5 deletions
|
|
@ -163,12 +163,9 @@ namespace :one_off do
|
|||
end
|
||||
puts "=====================> Completed loading #{Student.count - student_count} students. #{Student.count} total students"
|
||||
|
||||
puts 'Resetting response rates'
|
||||
ResponseRateLoader.reset(academic_years:)
|
||||
puts "=====================> Completed loading #{ResponseRate.count} response rates"
|
||||
|
||||
puts 'Resetting race scores'
|
||||
RaceScoreLoader.reset(fast_processing: false, academic_years:)
|
||||
RaceScoreLoader.reset(fast_processing: true, academic_years:, schools: District.find_by_name('Wareham').schools,
|
||||
academic_years:)
|
||||
puts "=====================> Completed loading #{RaceScore.count} race scores"
|
||||
|
||||
District.all.each do |district|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue