mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Add DESE_ID column to 2018-19 boston mattahunt teacher survey csv so survey item responses will load correctly
This commit is contained in:
parent
a3c7dcbf43
commit
bc27e5a0e8
2 changed files with 23 additions and 23 deletions
|
|
@ -45,9 +45,9 @@ namespace :one_off do
|
|||
measure_4aii.update! measure_id: '4A-i'
|
||||
end
|
||||
|
||||
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')
|
||||
desc 'load a single file'
|
||||
task load_single_file: :environment do
|
||||
filepath = Rails.root.join('data', 'survey_responses', '2018-19_boston_mattahunt_teacher_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