mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
load students from all years
This commit is contained in:
parent
e2a3f56b4b
commit
fc4fbb4644
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ namespace :data do
|
|||
end
|
||||
desc 'load students'
|
||||
task load_students: :environment do
|
||||
Dir.glob(Rails.root.join('data', 'survey_responses', '2021-22*student*.csv')).each do |file|
|
||||
Dir.glob(Rails.root.join('data', 'survey_responses', '*student*.csv')).each do |file|
|
||||
puts "=====================> Loading student data from csv at path: #{file}"
|
||||
StudentLoader.load_data filepath: file
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue