mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 01:10:39 -07:00
Update student survey responses for the 2018-19 school year
This commit is contained in:
parent
fe319a51b3
commit
a8507d817c
4 changed files with 26 additions and 4 deletions
|
|
@ -45,9 +45,9 @@ namespace :one_off do
|
|||
measure_4aii.update! measure_id: '4A-i'
|
||||
end
|
||||
|
||||
desc 'load boston 2018-19 responses'
|
||||
task load_boston_2018_19_responses: :environment do
|
||||
filepath = Rails.root.join('data', 'survey_responses', '2018-19_boston_student_survey_responses.csv')
|
||||
desc 'load 2018-19 student responses'
|
||||
task load_2018_19_student_responses: :environment do
|
||||
filepath = Rails.root.join('data', 'survey_responses', '2018-19_student_survey_responses.csv')
|
||||
puts "=====================> Loading data from csv at path: #{filepath}"
|
||||
SurveyResponsesDataLoader.load_data filepath: filepath
|
||||
puts "=====================> Completed loading #{SurveyItemResponse.count} survey responses"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue