mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Correct headers for 4D so the data can be correctly imported
This commit is contained in:
parent
9b28b0e629
commit
f4e2e6ca83
2 changed files with 3 additions and 3 deletions
|
|
@ -32,8 +32,8 @@ module Dese
|
|||
|
||||
def write_headers(filepath:)
|
||||
CSV.open(filepath, 'w') do |csv|
|
||||
headers = ['School Name', 'DESE ID', '4 Year Private College', '4 Year Public College', '2 Year Private College', '2 Year Public College',
|
||||
'Other Post Secondary', 'Apprenticeship', 'Work', 'Military', 'Other', 'Unknown', 'Total', 'Raw likert calculation', 'Likert Score', 'Admin Data Item', 'Academic Year']
|
||||
headers = ['Raw likert calculation', 'Likert Score', 'Admin Data Item', 'Academic Year','School Name', 'DESE ID', '4 Year Private College', '4 Year Public College', '2 Year Private College', '2 Year Public College',
|
||||
'Other Post Secondary', 'Apprenticeship', 'Work', 'Military', 'Other', 'Unknown', 'Total']
|
||||
csv << headers
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
School Name,DESE ID,4 Year Private College,4 Year Public College,2 Year Private College,2 Year Public College,Other Post Secondary,Apprenticeship,Work,Military,Other,Unknown,Total,Raw likert calculation,Likert Score,Admin Data Item,Academic Year
|
||||
Raw likert calculation,Likert Score,Admin Data Item,Academic Year,School Name,DESE ID,4 Year Private College,4 Year Public College,2 Year Private College,2 Year Public College,Other Post Secondary,Apprenticeship,Work,Military,Other,Unknown,Total
|
||||
5.077333333333334,5,a-cgpr-i1,2020-21,Abby Kelley Foster Charter Public (District) - Abby Kelley Foster Charter Public School,04450105, 24.4, 54.9, 0.0, 12.2, 0.0, 0.0, 3.7, 0.0, 4.9, 0.0, 82
|
||||
4.08,4.08,a-cgpr-i1,2020-21,Abington - Abington High,00010505, 27.5, 28.9, 0.0, 18.1, 0.0, 2.0, 0.0, 2.7, 14.8, 6.0, 149
|
||||
5.237333333333333,5,a-cgpr-i1,2020-21,Academy Of the Pacific Rim Charter Public (District) - Academy Of the Pacific Rim Charter Public School,04120530, 21.4, 51.8, 3.6, 10.7, 10.7, 0.0, 0.0, 0.0, 0.0, 1.8, 56
|
||||
|
|
|
|||
|
Loading…
Add table
Add a link
Reference in a new issue