mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
Create ability to run exports locally so they get created in
tmp/exports. Fix measure summary for 'all years' output. Slight speedup to survey item by grade. Fix Survey item by item for the 'all years' output
This commit is contained in:
parent
31e9779deb
commit
6899e1aa69
7 changed files with 282 additions and 173 deletions
|
|
@ -194,4 +194,12 @@ namespace :report do
|
|||
Report::SurveyItemResponse.create(schools: district.schools, academic_years:, filename:)
|
||||
end
|
||||
end
|
||||
|
||||
# Usage example
|
||||
# bundle exec rake "report:exports:create"
|
||||
namespace :exports do
|
||||
task :create, %i[district academic_year] => :environment do |_, _args|
|
||||
Report::Exports.create
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue