mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
feat: add esp counts when calculating teacher participation rates on overview page
This commit is contained in:
parent
ad779f5c5e
commit
02bcb2b75b
11 changed files with 131 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class AddTotalEspToRespondents < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :respondents, :total_esp, :integer
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.0].define(version: 2024_11_26_005312) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_01_15_011457) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_catalog.plpgsql"
|
||||
|
||||
|
|
@ -355,6 +355,7 @@ ActiveRecord::Schema[8.0].define(version: 2024_11_26_005312) do
|
|||
t.integer "ten"
|
||||
t.integer "eleven"
|
||||
t.integer "twelve"
|
||||
t.integer "total_esp"
|
||||
t.index ["academic_year_id"], name: "index_respondents_on_academic_year_id"
|
||||
t.index ["school_id", "academic_year_id"], name: "index_respondents_on_school_id_and_academic_year_id", unique: true
|
||||
end
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ seeder.seed_enrollment Rails.root.join("data", "enrollment", "wi_enrollment.csv"
|
|||
seeder.seed_staffing Rails.root.join("data", "staffing", "staffing.csv")
|
||||
seeder.seed_staffing Rails.root.join("data", "staffing", "nj_staffing.csv")
|
||||
seeder.seed_staffing Rails.root.join("data", "staffing", "wi_staffing.csv")
|
||||
seeder.seed_esp_counts Rails.root.join("data", "staffing", "esp_counts.csv")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue