mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
Seed db with survey_item information to keep track of which survey_item is on the short form survey. REcalculate response rate depending on whether school to regular survey or short form survey. Correct score for short form schools. Finishes #181284202
9 lines
462 B
Ruby
9 lines
462 B
Ruby
require "#{Rails.root}/app/lib/seeder"
|
|
|
|
seeder = Seeder.new
|
|
|
|
seeder.seed_academic_years '2020-21', '2019-20'
|
|
seeder.seed_districts_and_schools Rails.root.join('data', 'master_list_of_schools_and_districts.csv')
|
|
seeder.seed_surveys Rails.root.join('data', 'master_list_of_schools_and_districts.csv')
|
|
seeder.seed_respondents Rails.root.join('data', 'master_list_of_schools_and_districts.csv')
|
|
seeder.seed_sqm_framework Rails.root.join('data', 'sqm_framework.csv')
|