Add migration to make DESE IDs unique, update one-off script accordingly

pull/1/head
Liam Morley 4 years ago
parent 293de8698f
commit 1186579d1b

@ -10,10 +10,10 @@ class Seeder
def seed_districts_and_schools csv_file
CSV.parse(File.read(csv_file), headers: true) do |row|
district_name = row['District'].strip
district_code = row['District Code'].strip
district_code = row['District Code'].try(:strip)
dese_id = row['DESE School ID'].strip
school_name = row['School Name'].strip
school_code = row['School Code'].strip
school_code = row['School Code'].try(:strip)
district = District.find_or_create_by! name: district_name
district.update! slug: district_name.parameterize, qualtrics_code: district_code

@ -1,206 +1,198 @@
District,School Name,District Code,School Code,DESE School ID,School Closed In ,Total Students for Response Rate,Total Teachers for Response Rate
Attleboro,Attleboro High School,1,1,00160505,,1792,114.70
Attleboro,Cyril K. Brennan Middle School,1,2,00160315,,620,41.30
Attleboro,Robert J. Coelho Middle School,1,3,00160305,,633,38.80
Attleboro,Wamsutta Middle School,1,4,00160320,,578,37.00
Attleboro,Hill-Roberts Elementary School,1,5,00160045,,97,28.10
Attleboro,Hyman Fine Elementary School,1,6,00160040,,86,31.50
Attleboro,A. Irvin Studley Elementary School,1,7,00160001,,75,26.90
Attleboro,Peter Thacher Elementary School,1,8,00160050,,94,34.60
Attleboro,Thomas Willett Elementary School,1,9,00160035,,70,26.40
Boston,Samuel Adams Elementary School,2,1,00350302,,79,28.40
Boston,Dante Alghieri Montessori School,2,2,00350066,,28,10.30
Boston,Another Course to College,2,3,00350541,,236,25.00
Boston,Phineas Bates Elementary School,2,4,00350278,,69,23.40
Boston,Ludwig van Beethoven Elementary School,2,5,00350021,,0,24.50
Boston,Blackstone Innovation School,2,6,00350390,,156,55.70
Boston,Boston Arts Academy,2,7,00350546,,482,53.00
Boston,Boston Community Leadership Academy,2,8,00350558,,478,44.60
Boston,Boston Day and Evening Academy,2,9,00441006,,#N/A,#N/A
Boston,Boston Green Academy,2,10,04110305,,509,57.50
Boston,Boston International Newcomers Academy,2,11,00350507,,398,54.10
Boston,Boston Latin Academy,2,12,00350545,,1787,94.00
Boston,Boston Latin School,2,13,00350560,,2483,126.00
Boston,Boston Teachers Union K-8 School,2,14,00350012,,157,20.20
Boston,Manassah E. Bradley Elementary School,2,15,00350215,,105,21.70
Boston,Brighton High School,2,16,00350505,,402,49.80
Boston,Jeremiah E. Burke High School,2,17,00350525,,390,34.90
Boston,William E. Channing Elementary School,2,18,00350360,,69,23.70
Boston,Charlestown High School,2,19,00350515,,785,95.10
Boston,James J. Chittick Elementary School,2,20,00350154,,71,34.20
Boston,Clap Elementary School,2,21,00350298,,47,13.40
Boston,Community Academy,2,22,00350518,,51,12.70
Boston,Community Academy of Science and Health,2,23,00350581,,334,41.20
Boston,James F. Condon K-8 School,2,24,00350146,,419,64.20
Boston,George H. Conley Elementary School,2,25,00350122,,96,22.80
Boston,Curley K-8 School,2,26,00350020,,474,100.30
Boston,Henry Dearborn STEM Academy,2,27,00350074,,578,52.50
Boston,Paul A. Dever Elementary School,2,28,00350268,,121,39.40
Boston,Boston Collaborative High School,2,29,00350755,,160,15.30
Boston,Dudley Street Neighborhood Charter School,2,30,04070405,,77,10.30
Boston,East Boston High School,2,31,00350530,,1055,89.60
Boston,Thomas Edison K-8 School,2,32,00350375,,278,57.30
Boston,Clarence R. Edwards Middle School,2,33,00350430,,206,25.80
Boston,John Eliot K-8 School,2,34,00350096,,386,57.40
Boston,David A. Ellis Elementary School,2,35,00350072,,113,37.60
Boston,English High School,2,36,00350535,,518,58.10
Boston,Edward Everett Elementary School,2,37,00350088,,123,23.00
Boston,Excel High School,2,38,00350522,,471,49.90
Boston,Fenway High School,2,39,00350540,,388,37.30
Boston,Lilla G. Frederick Middle School,2,40,00350383,,381,40.30
Boston,Gardner Pilot Academy,2,41,00350326,,199,31.60
Boston,Greater Egleston High School,2,42,00350543,,114,10.70
Boston,Sarah Greenwood K-8 School,2,43,00350308,,183,35.60
Boston,Henry Grew Elementary School,2,44,00350135,,67,17.80
Boston,Curtis Guild Elementary School,2,45,00350062,,101,29.30
Boston,Nathan Hale Elementary School,2,46,00350243,,68,19.00
Boston,Dennis Haley K-8 School,2,47,00350077,,199,45.70
Boston,Harvard/Kent Elementary School,2,48,00350200,,156,45.20
Boston,Dr. William W. Henderson K-12 Inclusion School,2,49,00350266,,0,21.80
Boston,James W. Hennigan K-8 School,2,50,00350153,,366,49.80
Boston,Rafael Hernandez K-8 School,2,51,00350691,,177,28.30
Boston,Higginson-Lewis School,2,52,00350377,,190,27.40
Boston,Oliver Wendell Holmes Elementary School,2,53,00350138,,81,31.90
Boston,Horace Mann School for the Deaf and Hard of Hearing,2,54,00350750,,50,35.50
Boston,Joseph Hurley K-8 School,2,55,00350182,,152,22.50
Boston,Washington Irving Middle School,2,56,00350445,,184,27.80
Boston,Jackson/Mann K-8 School,2,57,00350013,,235,53.30
Boston,Edward M. Kennedy Academy for Health Careers,2,58,00350122,,96,22.80
Boston,John F. Kennedy Elementary School,2,59,00350166,,115,27.10
Boston,Patrick Kennedy Elementary School,2,60,00350264,,108,26.20
Boston,Thomas J. Kenny Elementary School,2,61,00350328,,153,33.40
Boston,Joyce Kilmer K-8 School,2,62,00350190,,210,43.00
Boston,"Martin Luther King, Jr. K-8 School",2,63,00350376,,231,55.70
Boston,Joseph Lee K-8 School,2,64,00350183,,320,65.90
Boston,Patrick Lyndon K-8 School,2,65,00350262,,304,52.50
Boston,Mary Lyon K-8 School,2,66,00350004,,76,17.40
Boston,Mary Lyon High School,2,67,00350655,,137,16.60
Boston,Madison Park Technical Vocational High School,2,68,00350537,,1043,128.10
Boston,Joseph P. Manning Elementary School,2,69,00350184,,69,16.20
Boston,Samuel Mason Elementary School,2,70,00350304,,64,28.30
Boston,Mather Elementary School,2,71,00350227,,152,45.40
Boston,John W. McCormack Middle School,2,72,00350179,,250,26.50
Boston,Donald McKay K-8 School,2,73,00350080,,452,70.10
Boston,William McKinley Elementary School,2,74,00350363,,252,58.50
Boston,William McKinley Middle School,2,75,00350363,,252,58.50
Boston,William McKinley South End Academy,2,76,00350363,,252,58.50
Boston,William McKinley Preparatory High School,2,77,00350363,,252,58.50
Boston,William McKinley School,2,78,00350363,,252,58.50
Boston,Ellis Mendell School,2,79,00350100,,82,26.50
Boston,Mildred Avenue K-8 School,2,80,00350378,,464,55.90
Boston,Mission Hill K-8 School,2,81,00350382,,107,24.50
Boston,Wolfgang A. Mozart Elementary School,2,82,00350237,,46,18.30
Boston,Margarita Muniz Academy,2,83,00350549,,315,27.70
Boston,Richard J. Murphy K-8 School,2,84,00350240,,556,70.10
Boston,New Mission High School,2,85,00350542,,481,44.90
Boston,John D. O'Bryant School of Mathematics and Science,2,86,00350575,,1624,110.20
Boston,Hugh R. O'Donnell Elementary School,2,87,00350141,,99,24.50
Boston,William Ohrenberger School,2,88,00350258,,452,44.80
Boston,Orchard Gardens K-8 School,2,89,00350257,,452,74.10
Boston,James Otis Elementary School,2,90,00350156,,136,36.60
Boston,Michael J. Perkins Elementary School,2,91,00350231,,78,18.40
Boston,Oliver Hazard Perry K-8 School,2,92,00350255,,81,23.70
Boston,John D. Philbrick Elementary School,2,93,00350172,,33,14.90
Boston,Josiah Quincy Elementary School,2,94,00350286,,245,65.70
Boston,Josiah Quincy Upper School,2,95,00350286,,245,65.70
Boston,Franklin D. Roosevelt K-8 School,2,96,00350116,,222,36.80
Boston,William E. Russell Elementary School,2,97,00350366,,87,34.40
Boston,Pauline A. Shaw Elementary School,2,98,00350014,,0,15.50
Boston,Snowden International School at Copley,2,99,00350690,,483,44.00
Boston,Charles Sumner Elementary School,2,100,00350052,,145,42.30
Boston,Charles H. Taylor Elementary School,2,101,00350054,,111,37.00
Boston,TechBoston Academy,2,102,00350657,,901,95.00
Boston,James P. Timilty Middle School,2,103,00350485,,233,31.70
Boston,Maurice Tobin K-8 School,2,104,00350229,,229,35.80
Boston,William Monroe Trotter K-8 School,2,105,00350370,,165,31.80
Boston,Joseph P. Tynan Elementary School,2,106,00350181,,77,28.10
Boston,Mario Umana Academy,2,107,00350656,,500,64.00
Boston,UP Academy Boston,2,108,04800405,,349,35.30
Boston,UP Academy Dorchester,2,109,35050405,,354,45.70
Boston,UP Academy Holland,2,110,00350167,,216,48.50
Boston,Urban Science Academy,2,111,00350579,,#N/A,#N/A
Boston,Warren/Prescott K-8 School,2,112,00350346,,236,48.10
Boston,West Roxbury Academy,2,113,00350658,,#N/A,#N/A
Boston,F. Lyman Winship Elementary School,2,114,00350374,,32,23.00
Boston,John Winthrop Elementary School,2,115,00350180,,56,27.00
Boston,Young Achievers Science and Math K-8 School,2,116,00350380,,314,54.50
Boston,Baldwin Early Learning Pilot Academy ,2,117,00350003,,0,15.00
Boston,Boston Adult Technical Academy ,2,118,00351002,,#N/A,#N/A
Boston,Dorchester Academy ,2,125,00350651,,#N/A,#N/A
Boston,EDCO Youth ,2,126,05230001,,#N/A,#N/A
Boston,East Boston Early Education Center ,2,119,00350009,,0,19.30
Boston,Ellison/Parks Early Education School,2,120,00350008,,0,21.00
Boston,Haynes Early Education Center ,2,121,00350010,,0,16.50
Boston,Lee Academy,2,64,00350001,,0,19.20
Boston,Mattahunt,2,122,00350226,,#N/A,#N/A
Boston,Patrick Lyndon K-8 School,2,65,00350262,,304,52.50
Boston,West Zone Early Learning Center ,2,123,00350006,,0,12.00
Boston,William E. Carter School,2,124,00350036,,27,2.00
Lowell,Bailey Elementary School,3,1,01600002,,90,35.00
Lowell,Butler Middle School,3,2,01600310,,550,42.40
Lowell,Cardinal O'Connell Alternative School,3,3,01600001,,0,9.00
Lowell,Daley Middle School,3,4,01600315,,691,50.20
Lowell,Greenhalge Elementary School,3,5,01600015,,88,37.00
Lowell,Laura Lee Therapeutic Day School,3,6,01600085,,23,6.80
Lowell,LeBlanc Therapeutic Day School,3,7,01600320,,36,7.30
Lowell,Lowell High School,3,8,01600505,,3048,212.90
Lowell,McAuliffe Elementary School,3,9,01600075,,91,37.00
Lowell,McAvinnue Elementary School,3,10,01600010,,86,39.00
Lowell,Moody Elementary School,3,11,01600027,,43,17.80
Lowell,Morey Elementary School,3,12,01600030,,88,37.00
Lowell,Murkland Elementary School,3,13,01600080,,87,35.00
Lowell,Pawtucketville Memorial Elementary School,3,14,01600036,,91,34.00
Lowell,Pyne Arts School,3,15,01600018,,264,38.20
Lowell,Reilly Elementary School,3,16,01600040,,89,32.20
Lowell,Riverside School,3,17,01600920,,#N/A,#N/A
Lowell,Robinson Middle School,3,18,01600330,,658,45.40
Lowell,Shaughnessy Elementary School,3,19,01600050,,92,38.00
Lowell,STEM Academy at the Rogers School,3,20,01600005,,510,59.00
Lowell,Stoklosa Middle School,3,21,01600360,,656,53.60
Lowell,Sullivan Middle School,3,22,01600340,,641,47.00
Lowell,The Career Academy,3,23,01600515,,94,9.90
Lowell,Wang Middle School,3,24,01600345,,668,46.00
Lowell,Washington Elementary School,3,25,01600055,,46,23.00
Lowell,Bartlett Community Partnership School,3,26,01600090,,256,40.80
Lowell,Adie Day School,3,51,01600605,,32,11.00
Lowell,Abraham Lincoln Elementary School,3,52,01600020,,90,39.00
Revere,Beachmont Elementary School,4,1,02480013,,97,29.00
Revere,Garfield Elementary School,4,2,02480056,,201,57.80
Revere,Garfield Middle School,4,3,02480057,,568,44.90
Revere,Hill Elementary School,4,4,02480035,,237,47.50
Revere,Lincoln Elementary School,4,5,01600020,,90,39.00
Revere,Paul Revere Elementary School,4,6,02480050,,159,41.50
Revere,Whelan Elementary School,4,7,02480003,,256,53.50
Revere,Susan B. Anthony Middle School,4,8,02480305,,575,49.00
Revere,Rumney Marsh Academy,4,9,02480014,,600,50.50
Revere,Revere High School,4,10,02480505,,1978,135.60
Revere,Seacoast High School,4,11,02480520,,81,12.80
Somerville,Arthur D. Healey School,5,1,02740075,,235,42.80
Somerville,Benjamin G. Brown School,5,2,02740015,,78,15.80
Somerville,Dr. Albert F. Argenziano School at Lincoln Park,5,3,02740087,,290,45.70
Somerville,East Somerville Community School,5,4,02740111,,392,54.20
Somerville,Full Circle High School,5,5,02740510,,56,10.70
Somerville,John F. Kennedy Elementary School,5,6,00350166,,115,27.10
Somerville,Next Wave Junior High School,5,5,02740410,,15,5.90
Somerville,Somerville High School,5,8,02740505,,1215,113.20
Somerville,West Somerville Neighborhood School,5,9,02740115,,193,29.30
Somerville,Winter Hill Community Innovation School,5,10,02740120,,230,46.70
Somerville,Michael E Capuano Early Childhood Center,5,12,02740005,,0,23.30
Winchester,Ambrose Elementary School,6,1,03440045,,130,30.20
Winchester,Lincoln Elementary School,6,2,01600020,,90,39.00
Winchester,Lynch Elementary School,6,3,03440020,,158,43.20
Winchester,Muraco Elementary School,6,4,03440040,,136,25.30
Winchester,Vinson-Owen Elementary School,6,5,03440025,,136,36.30
Winchester,McCall Middle School,6,6,03440305,,1084,85.30
Winchester,Winchester High School,6,7,03440505,,1403,98.20
Milford,Woodland Elementary School,7,1,01850090,,656,81.20
Milford,Milford High School,7,2,01850505,,1257,95.20
Milford,Stacy Middle School,7,26,01850305,,1032,76.40
Milford,Brookside Elementary School,7,3,01850065,,0,39.40
Milford,Memorial Elementary School,7,4,01850010,,0,38.40
Milford,Shining Star Early Childhood Center,7,5,01850075,,0,7.60
Wareham,Minot Forest Elementary School,8,2,03100017,,134,25.70
Wareham,Wareham Middle School,8,3,03100305,,533,36.00
Wareham,Wareham High School,8,4,03100505,,585,59.20
Wareham,Wareham Cooperative Alternative School,8,8,03100315,,33,2.60
Wareham,John William Decas Elementary School,8,1,03100003,,0,48.50
District,School Name,District Code,School Code,DESE School ID,School Closed In ,Total Students for Response Rate,Total Teachers for Response Rate
Attleboro,A. Irvin Studley Elementary School,1,7,00160001,,75,26.90
Attleboro,Thomas Willett Elementary School,1,9,00160035,,70,26.40
Attleboro,Hyman Fine Elementary School,1,6,00160040,,86,31.50
Attleboro,Hill-Roberts Elementary School,1,5,00160045,,97,28.10
Attleboro,Peter Thacher Elementary School,1,8,00160050,,94,34.60
Attleboro,Robert J. Coelho Middle School,1,3,00160305,,633,38.80
Attleboro,Cyril K. Brennan Middle School,1,2,00160315,,620,41.30
Attleboro,Wamsutta Middle School,1,4,00160320,,578,37.00
Attleboro,Attleboro High School,1,1,00160505,,1792,114.70
Boston,Lee Academy,2,,00350001,,0,19.20
Boston,Baldwin Early Learning Pilot Academy ,2,117,00350003,,0,15.00
Boston,Mary Lyon K-8 School,2,66,00350004,,76,17.40
Boston,West Zone Early Learning Center ,2,123,00350006,,0,12.00
Boston,Ellison/Parks Early Education School,2,120,00350008,,0,21.00
Boston,East Boston Early Education Center ,2,119,00350009,,0,19.30
Boston,Haynes Early Education Center ,2,121,00350010,,0,16.50
Boston,Boston Teachers Union K-8 School,2,14,00350012,,157,20.20
Boston,Jackson/Mann K-8 School,2,57,00350013,,235,53.30
Boston,Pauline A. Shaw Elementary School,2,98,00350014,,0,15.50
Boston,Curley K-8 School,2,26,00350020,,474,100.30
Boston,Ludwig van Beethoven Elementary School,2,5,00350021,,0,24.50
Boston,William E. Carter School,2,124,00350036,,27,2.00
Boston,Charles Sumner Elementary School,2,100,00350052,,145,42.30
Boston,Charles H. Taylor Elementary School,2,101,00350054,,111,37.00
Boston,Curtis Guild Elementary School,2,45,00350062,,101,29.30
Boston,Dante Alghieri Montessori School,2,2,00350066,,28,10.30
Boston,David A. Ellis Elementary School,2,35,00350072,,113,37.60
Boston,Henry Dearborn STEM Academy,2,27,00350074,,578,52.50
Boston,Dennis Haley K-8 School,2,47,00350077,,199,45.70
Boston,Donald McKay K-8 School,2,73,00350080,,452,70.10
Boston,Edward Everett Elementary School,2,37,00350088,,123,23.00
Boston,John Eliot K-8 School,2,34,00350096,,386,57.40
Boston,Ellis Mendell School,2,79,00350100,,82,26.50
Boston,Franklin D. Roosevelt K-8 School,2,96,00350116,,222,36.80
Boston,George H. Conley Elementary School,2,25,00350122,,96,22.80
Boston,Edward M. Kennedy Academy for Health Careers,2,58,04520505,,385,36.30
Boston,Henry Grew Elementary School,2,44,00350135,,67,17.80
Boston,Oliver Wendell Holmes Elementary School,2,53,00350138,,81,31.90
Boston,Hugh R. O'Donnell Elementary School,2,87,00350141,,99,24.50
Boston,James F. Condon K-8 School,2,24,00350146,,419,64.20
Boston,James W. Hennigan K-8 School,2,50,00350153,,366,49.80
Boston,James J. Chittick Elementary School,2,20,00350154,,71,34.20
Boston,James Otis Elementary School,2,90,00350156,,136,36.60
Boston,John F. Kennedy Elementary School,2,59,00350166,,115,27.10
Somerville,John F. Kennedy Elementary School,5,6,02740083,,251,36.60
Boston,UP Academy Holland,2,110,00350167,,216,48.50
Boston,John D. Philbrick Elementary School,2,93,00350172,,33,14.90
Boston,John W. McCormack Middle School,2,72,00350179,,250,26.50
Boston,John Winthrop Elementary School,2,115,00350180,,56,27.00
Boston,Joseph P. Tynan Elementary School,2,106,00350181,,77,28.10
Boston,Joseph Hurley K-8 School,2,55,00350182,,152,22.50
Boston,Joseph Lee K-8 School,2,64,00350183,,320,65.90
Boston,Joseph P. Manning Elementary School,2,69,00350184,,69,16.20
Boston,Joyce Kilmer K-8 School,2,62,00350190,,210,43.00
Boston,Harvard/Kent Elementary School,2,48,00350200,,156,45.20
Boston,Manassah E. Bradley Elementary School,2,15,00350215,,105,21.70
Boston,Mattahunt,2,122,00350226,,#N/A,#N/A
Boston,Mather Elementary School,2,71,00350227,,152,45.40
Boston,Maurice Tobin K-8 School,2,104,00350229,,229,35.80
Boston,Michael J. Perkins Elementary School,2,91,00350231,,78,18.40
Boston,Wolfgang A. Mozart Elementary School,2,82,00350237,,46,18.30
Boston,Richard J. Murphy K-8 School,2,84,00350240,,556,70.10
Boston,Nathan Hale Elementary School,2,46,00350243,,68,19.00
Boston,Oliver Hazard Perry K-8 School,2,92,00350255,,81,23.70
Boston,Orchard Gardens K-8 School,2,89,00350257,,452,74.10
Boston,William Ohrenberger School,2,88,00350258,,452,44.80
Boston,Patrick Lyndon K-8 School,2,65,00350262,,304,52.50
Boston,Patrick Kennedy Elementary School,2,60,00350264,,108,26.20
Boston,Dr. William W. Henderson K-12 Inclusion School,2,49,00350266,,0,21.80
Boston,Paul A. Dever Elementary School,2,28,00350268,,121,39.40
Boston,Phineas Bates Elementary School,2,4,00350278,,69,23.40
Boston,Josiah Quincy Elementary School,2,94,00350286,,245,65.70
Boston,Josiah Quincy Upper School,2,95,00350565,,535,48.70
Boston,Clap Elementary School,2,21,00350298,,47,13.40
Boston,Samuel Adams Elementary School,2,1,00350302,,79,28.40
Boston,Samuel Mason Elementary School,2,70,00350304,,64,28.30
Boston,Sarah Greenwood K-8 School,2,43,00350308,,183,35.60
Boston,Gardner Pilot Academy,2,41,00350326,,199,31.60
Boston,Thomas J. Kenny Elementary School,2,61,00350328,,153,33.40
Boston,Warren/Prescott K-8 School,2,112,00350346,,236,48.10
Boston,William E. Channing Elementary School,2,18,00350360,,69,23.70
Boston,William McKinley School,2,78,00350363,,252,58.50
Boston,William E. Russell Elementary School,2,97,00350366,,87,34.40
Boston,William Monroe Trotter K-8 School,2,105,00350370,,165,31.80
Boston,F. Lyman Winship Elementary School,2,114,00350374,,32,23.00
Boston,Thomas Edison K-8 School,2,32,00350375,,278,57.30
Boston,"Martin Luther King, Jr. K-8 School",2,63,00350376,,231,55.70
Boston,Higginson-Lewis School,2,52,00350377,,190,27.40
Boston,Mildred Avenue K-8 School,2,80,00350378,,464,55.90
Boston,Young Achievers Science and Math K-8 School,2,116,00350380,,314,54.50
Boston,Mission Hill K-8 School,2,81,00350382,,107,24.50
Boston,Lilla G. Frederick Middle School,2,40,00350383,,381,40.30
Boston,Blackstone Innovation School,2,6,00350390,,156,55.70
Boston,Clarence R. Edwards Middle School,2,33,00350430,,206,25.80
Boston,Washington Irving Middle School,2,56,00350445,,184,27.80
Boston,James P. Timilty Middle School,2,103,00350485,,233,31.70
Boston,Brighton High School,2,16,00350505,,402,49.80
Boston,Boston International Newcomers Academy,2,11,00350507,,398,54.10
Boston,Charlestown High School,2,19,00350515,,785,95.10
Boston,Community Academy,2,22,00350518,,51,12.70
Boston,Excel High School,2,38,00350522,,471,49.90
Boston,Jeremiah E. Burke High School,2,17,00350525,,390,34.90
Boston,East Boston High School,2,31,00350530,,1055,89.60
Boston,English High School,2,36,00350535,,518,58.10
Boston,Madison Park Technical Vocational High School,2,68,00350537,,1043,128.10
Boston,Fenway High School,2,39,00350540,,388,37.30
Boston,Another Course to College,2,3,00350541,,236,25.00
Boston,New Mission High School,2,85,00350542,,481,44.90
Boston,Greater Egleston High School,2,42,00350543,,114,10.70
Boston,Boston Latin Academy,2,12,00350545,,1787,94.00
Boston,Boston Arts Academy,2,7,00350546,,482,53.00
Boston,Margarita Muniz Academy,2,83,00350549,,315,27.70
Boston,Boston Community Leadership Academy,2,8,00350558,,478,44.60
Boston,Boston Latin School,2,13,00350560,,2483,126.00
Boston,John D. O'Bryant School of Mathematics and Science,2,86,00350575,,1624,110.20
Boston,Urban Science Academy,2,111,00350579,,#N/A,#N/A
Boston,Community Academy of Science and Health,2,23,00350581,,334,41.20
Boston,Mary Lyon High School,2,67,00350655,,137,16.60
Boston,Mario Umana Academy,2,107,00350656,,500,64.00
Boston,TechBoston Academy,2,102,00350657,,901,95.00
Boston,West Roxbury Academy,2,113,00350658,,#N/A,#N/A
Boston,Snowden International School at Copley,2,99,00350690,,483,44.00
Boston,Rafael Hernandez K-8 School,2,51,00350691,,177,28.30
Boston,Horace Mann School for the Deaf and Hard of Hearing,2,54,00350750,,50,35.50
Boston,Boston Collaborative High School,2,29,00350755,,160,15.30
Boston,Boston Adult Technical Academy ,2,118,00351002,,#N/A,#N/A
Boston,Boston Day and Evening Academy,2,9,00441006,,#N/A,#N/A
Lowell,Cardinal O'Connell Alternative School,3,3,01600001,,0,9.00
Lowell,Bailey Elementary School,3,1,01600002,,90,35.00
Lowell,STEM Academy at the Rogers School,3,20,01600005,,510,59.00
Lowell,McAvinnue Elementary School,3,10,01600010,,86,39.00
Lowell,Greenhalge Elementary School,3,5,01600015,,88,37.00
Lowell,Pyne Arts School,3,15,01600018,,264,38.20
Lowell,Abraham Lincoln Elementary School,3,52,01600020,,90,39.00
Revere,Lincoln Elementary School,4,5,02480025,,175,39.10
Winchester,Lincoln Elementary School,6,2,03440005,,157,30.20
Lowell,Moody Elementary School,3,11,01600027,,43,17.80
Lowell,Morey Elementary School,3,12,01600030,,88,37.00
Lowell,Pawtucketville Memorial Elementary School,3,14,01600036,,91,34.00
Lowell,Reilly Elementary School,3,16,01600040,,89,32.20
Lowell,Shaughnessy Elementary School,3,19,01600050,,92,38.00
Lowell,Washington Elementary School,3,25,01600055,,46,23.00
Lowell,McAuliffe Elementary School,3,9,01600075,,91,37.00
Lowell,Murkland Elementary School,3,13,01600080,,87,35.00
Lowell,Laura Lee Therapeutic Day School,3,6,01600085,,23,6.80
Lowell,Bartlett Community Partnership School,3,26,01600090,,256,40.80
Lowell,Butler Middle School,3,2,01600310,,550,42.40
Lowell,Daley Middle School,3,4,01600315,,691,50.20
Lowell,LeBlanc Therapeutic Day School,3,7,01600320,,36,7.30
Lowell,Robinson Middle School,3,18,01600330,,658,45.40
Lowell,Sullivan Middle School,3,22,01600340,,641,47.00
Lowell,Wang Middle School,3,24,01600345,,668,46.00
Lowell,Stoklosa Middle School,3,21,01600360,,656,53.60
Lowell,Lowell High School,3,8,01600505,,3048,212.90
Lowell,The Career Academy,3,23,01600515,,94,9.90
Lowell,Adie Day School,3,51,01600605,,32,11.00
Lowell,Riverside School,3,17,01600920,,#N/A,#N/A
Milford,Memorial Elementary School,7,4,01850010,,0,38.40
Milford,Brookside Elementary School,7,3,01850065,,0,39.40
Milford,Shining Star Early Childhood Center,7,5,01850075,,0,7.60
Milford,Woodland Elementary School,7,1,01850090,,656,81.20
Milford,Stacy Middle School,7,26,01850305,,1032,76.40
Milford,Milford High School,7,2,01850505,,1257,95.20
Revere,Whelan Elementary School,4,7,02480003,,256,53.50
Revere,Beachmont Elementary School,4,1,02480013,,97,29.00
Revere,Rumney Marsh Academy,4,9,02480014,,600,50.50
Revere,Hill Elementary School,4,4,02480035,,237,47.50
Revere,Paul Revere Elementary School,4,6,02480050,,159,41.50
Revere,Garfield Elementary School,4,2,02480056,,201,57.80
Revere,Garfield Middle School,4,3,02480057,,568,44.90
Revere,Susan B. Anthony Middle School,4,8,02480305,,575,49.00
Revere,Revere High School,4,10,02480505,,1978,135.60
Revere,Seacoast High School,4,11,02480520,,81,12.80
Somerville,Michael E. Capuano Early Childhood Center,5,12,02740005,,0,23.30
Somerville,Benjamin G. Brown School,5,2,02740015,,78,15.80
Somerville,Arthur D. Healey School,5,1,02740075,,235,42.80
Somerville,Dr. Albert F. Argenziano School at Lincoln Park,5,3,02740087,,290,45.70
Somerville,East Somerville Community School,5,4,02740111,,392,54.20
Somerville,West Somerville Neighborhood School,5,9,02740115,,193,29.30
Somerville,Winter Hill Community Innovation School,5,10,02740120,,230,46.70
Somerville,Somerville High School,5,8,02740505,,1215,113.20
Somerville,Next Wave/Full Circle,5,5,02740510,,56,10.70
Wareham,John William Decas Elementary School,8,1,03100003,,0,48.50
Wareham,Minot Forest Elementary School,8,2,03100017,,134,25.70
Wareham,Wareham Middle School,8,3,03100305,,533,36.00
Wareham,Wareham Cooperative Alternative School,8,8,03100315,,33,2.60
Wareham,Wareham High School,8,4,03100505,,585,59.20
Winchester,Lynch Elementary School,6,3,03440020,,158,43.20
Winchester,Vinson-Owen Elementary School,6,5,03440025,,136,36.30
Winchester,Muraco Elementary School,6,4,03440040,,136,25.30
Winchester,Ambrose Elementary School,6,1,03440045,,130,30.20
Winchester,McCall Middle School,6,6,03440305,,1084,85.30
Winchester,Winchester High School,6,7,03440505,,1403,98.20
Boston,Dudley Street Neighborhood Charter School,2,30,04070405,,77,10.30
Boston,Boston Green Academy,2,10,04110305,,509,57.50
Boston,UP Academy Boston,2,108,04800405,,349,35.30
Boston,UP Academy Dorchester,2,109,35050405,,354,45.70

1 District School Name District Code School Code DESE School ID School Closed In Total Students for Response Rate Total Teachers for Response Rate
2 Attleboro Attleboro High School A. Irvin Studley Elementary School 1 1 7 00160505 00160001 1792 75 114.70 26.90
3 Attleboro Cyril K. Brennan Middle School Thomas Willett Elementary School 1 2 9 00160315 00160035 620 70 41.30 26.40
4 Attleboro Robert J. Coelho Middle School Hyman Fine Elementary School 1 3 6 00160305 00160040 633 86 38.80 31.50
5 Attleboro Wamsutta Middle School Hill-Roberts Elementary School 1 4 5 00160320 00160045 578 97 37.00 28.10
6 Attleboro Hill-Roberts Elementary School Peter Thacher Elementary School 1 5 8 00160045 00160050 97 94 28.10 34.60
7 Attleboro Hyman Fine Elementary School Robert J. Coelho Middle School 1 6 3 00160040 00160305 86 633 31.50 38.80
8 Attleboro A. Irvin Studley Elementary School Cyril K. Brennan Middle School 1 7 2 00160001 00160315 75 620 26.90 41.30
9 Attleboro Peter Thacher Elementary School Wamsutta Middle School 1 8 4 00160050 00160320 94 578 34.60 37.00
10 Attleboro Thomas Willett Elementary School Attleboro High School 1 9 1 00160035 00160505 70 1792 26.40 114.70
11 Boston Samuel Adams Elementary School Lee Academy 2 1 00350302 00350001 79 0 28.40 19.20
12 Boston Dante Alghieri Montessori School Baldwin Early Learning Pilot Academy 2 2 117 00350066 00350003 28 0 10.30 15.00
13 Boston Another Course to College Mary Lyon K-8 School 2 3 66 00350541 00350004 236 76 25.00 17.40
14 Boston Phineas Bates Elementary School West Zone Early Learning Center 2 4 123 00350278 00350006 69 0 23.40 12.00
15 Boston Ludwig van Beethoven Elementary School Ellison/Parks Early Education School 2 5 120 00350021 00350008 0 24.50 21.00
16 Boston Blackstone Innovation School East Boston Early Education Center 2 6 119 00350390 00350009 156 0 55.70 19.30
17 Boston Boston Arts Academy Haynes Early Education Center 2 7 121 00350546 00350010 482 0 53.00 16.50
18 Boston Boston Community Leadership Academy Boston Teachers Union K-8 School 2 8 14 00350558 00350012 478 157 44.60 20.20
19 Boston Boston Day and Evening Academy Jackson/Mann K-8 School 2 9 57 00441006 00350013 #N/A 235 #N/A 53.30
20 Boston Boston Green Academy Pauline A. Shaw Elementary School 2 10 98 04110305 00350014 509 0 57.50 15.50
21 Boston Boston International Newcomers Academy Curley K-8 School 2 11 26 00350507 00350020 398 474 54.10 100.30
22 Boston Boston Latin Academy Ludwig van Beethoven Elementary School 2 12 5 00350545 00350021 1787 0 94.00 24.50
23 Boston Boston Latin School William E. Carter School 2 13 124 00350560 00350036 2483 27 126.00 2.00
24 Boston Boston Teachers Union K-8 School Charles Sumner Elementary School 2 14 100 00350012 00350052 157 145 20.20 42.30
25 Boston Manassah E. Bradley Elementary School Charles H. Taylor Elementary School 2 15 101 00350215 00350054 105 111 21.70 37.00
26 Boston Brighton High School Curtis Guild Elementary School 2 16 45 00350505 00350062 402 101 49.80 29.30
27 Boston Jeremiah E. Burke High School Dante Alghieri Montessori School 2 17 2 00350525 00350066 390 28 34.90 10.30
28 Boston William E. Channing Elementary School David A. Ellis Elementary School 2 18 35 00350360 00350072 69 113 23.70 37.60
29 Boston Charlestown High School Henry Dearborn STEM Academy 2 19 27 00350515 00350074 785 578 95.10 52.50
30 Boston James J. Chittick Elementary School Dennis Haley K-8 School 2 20 47 00350154 00350077 71 199 34.20 45.70
31 Boston Clap Elementary School Donald McKay K-8 School 2 21 73 00350298 00350080 47 452 13.40 70.10
32 Boston Community Academy Edward Everett Elementary School 2 22 37 00350518 00350088 51 123 12.70 23.00
33 Boston Community Academy of Science and Health John Eliot K-8 School 2 23 34 00350581 00350096 334 386 41.20 57.40
34 Boston James F. Condon K-8 School Ellis Mendell School 2 24 79 00350146 00350100 419 82 64.20 26.50
35 Boston George H. Conley Elementary School Franklin D. Roosevelt K-8 School 2 25 96 00350122 00350116 96 222 22.80 36.80
36 Boston Curley K-8 School George H. Conley Elementary School 2 26 25 00350020 00350122 474 96 100.30 22.80
37 Boston Henry Dearborn STEM Academy Edward M. Kennedy Academy for Health Careers 2 27 58 00350074 04520505 578 385 52.50 36.30
38 Boston Paul A. Dever Elementary School Henry Grew Elementary School 2 28 44 00350268 00350135 121 67 39.40 17.80
39 Boston Boston Collaborative High School Oliver Wendell Holmes Elementary School 2 29 53 00350755 00350138 160 81 15.30 31.90
40 Boston Dudley Street Neighborhood Charter School Hugh R. O'Donnell Elementary School 2 30 87 04070405 00350141 77 99 10.30 24.50
41 Boston East Boston High School James F. Condon K-8 School 2 31 24 00350530 00350146 1055 419 89.60 64.20
42 Boston Thomas Edison K-8 School James W. Hennigan K-8 School 2 32 50 00350375 00350153 278 366 57.30 49.80
43 Boston Clarence R. Edwards Middle School James J. Chittick Elementary School 2 33 20 00350430 00350154 206 71 25.80 34.20
44 Boston John Eliot K-8 School James Otis Elementary School 2 34 90 00350096 00350156 386 136 57.40 36.60
45 Boston David A. Ellis Elementary School John F. Kennedy Elementary School 2 35 59 00350072 00350166 113 115 37.60 27.10
46 Boston Somerville English High School John F. Kennedy Elementary School 2 5 36 6 00350535 02740083 518 251 58.10 36.60
47 Boston Edward Everett Elementary School UP Academy Holland 2 37 110 00350088 00350167 123 216 23.00 48.50
48 Boston Excel High School John D. Philbrick Elementary School 2 38 93 00350522 00350172 471 33 49.90 14.90
49 Boston Fenway High School John W. McCormack Middle School 2 39 72 00350540 00350179 388 250 37.30 26.50
50 Boston Lilla G. Frederick Middle School John Winthrop Elementary School 2 40 115 00350383 00350180 381 56 40.30 27.00
51 Boston Gardner Pilot Academy Joseph P. Tynan Elementary School 2 41 106 00350326 00350181 199 77 31.60 28.10
52 Boston Greater Egleston High School Joseph Hurley K-8 School 2 42 55 00350543 00350182 114 152 10.70 22.50
53 Boston Sarah Greenwood K-8 School Joseph Lee K-8 School 2 43 64 00350308 00350183 183 320 35.60 65.90
54 Boston Henry Grew Elementary School Joseph P. Manning Elementary School 2 44 69 00350135 00350184 67 69 17.80 16.20
55 Boston Curtis Guild Elementary School Joyce Kilmer K-8 School 2 45 62 00350062 00350190 101 210 29.30 43.00
56 Boston Nathan Hale Elementary School Harvard/Kent Elementary School 2 46 48 00350243 00350200 68 156 19.00 45.20
57 Boston Dennis Haley K-8 School Manassah E. Bradley Elementary School 2 47 15 00350077 00350215 199 105 45.70 21.70
58 Boston Harvard/Kent Elementary School Mattahunt 2 48 122 00350200 00350226 156 #N/A 45.20 #N/A
59 Boston Dr. William W. Henderson K-12 Inclusion School Mather Elementary School 2 49 71 00350266 00350227 0 152 21.80 45.40
60 Boston James W. Hennigan K-8 School Maurice Tobin K-8 School 2 50 104 00350153 00350229 366 229 49.80 35.80
61 Boston Rafael Hernandez K-8 School Michael J. Perkins Elementary School 2 51 91 00350691 00350231 177 78 28.30 18.40
62 Boston Higginson-Lewis School Wolfgang A. Mozart Elementary School 2 52 82 00350377 00350237 190 46 27.40 18.30
63 Boston Oliver Wendell Holmes Elementary School Richard J. Murphy K-8 School 2 53 84 00350138 00350240 81 556 31.90 70.10
64 Boston Horace Mann School for the Deaf and Hard of Hearing Nathan Hale Elementary School 2 54 46 00350750 00350243 50 68 35.50 19.00
65 Boston Joseph Hurley K-8 School Oliver Hazard Perry K-8 School 2 55 92 00350182 00350255 152 81 22.50 23.70
66 Boston Washington Irving Middle School Orchard Gardens K-8 School 2 56 89 00350445 00350257 184 452 27.80 74.10
67 Boston Jackson/Mann K-8 School William Ohrenberger School 2 57 88 00350013 00350258 235 452 53.30 44.80
68 Boston Edward M. Kennedy Academy for Health Careers Patrick Lyndon K-8 School 2 58 65 00350122 00350262 96 304 22.80 52.50
69 Boston John F. Kennedy Elementary School Patrick Kennedy Elementary School 2 59 60 00350166 00350264 115 108 27.10 26.20
70 Boston Patrick Kennedy Elementary School Dr. William W. Henderson K-12 Inclusion School 2 60 49 00350264 00350266 108 0 26.20 21.80
71 Boston Thomas J. Kenny Elementary School Paul A. Dever Elementary School 2 61 28 00350328 00350268 153 121 33.40 39.40
72 Boston Joyce Kilmer K-8 School Phineas Bates Elementary School 2 62 4 00350190 00350278 210 69 43.00 23.40
73 Boston Martin Luther King, Jr. K-8 School Josiah Quincy Elementary School 2 63 94 00350376 00350286 231 245 55.70 65.70
74 Boston Joseph Lee K-8 School Josiah Quincy Upper School 2 64 95 00350183 00350565 320 535 65.90 48.70
75 Boston Patrick Lyndon K-8 School Clap Elementary School 2 65 21 00350262 00350298 304 47 52.50 13.40
76 Boston Mary Lyon K-8 School Samuel Adams Elementary School 2 66 1 00350004 00350302 76 79 17.40 28.40
77 Boston Mary Lyon High School Samuel Mason Elementary School 2 67 70 00350655 00350304 137 64 16.60 28.30
78 Boston Madison Park Technical Vocational High School Sarah Greenwood K-8 School 2 68 43 00350537 00350308 1043 183 128.10 35.60
79 Boston Joseph P. Manning Elementary School Gardner Pilot Academy 2 69 41 00350184 00350326 69 199 16.20 31.60
80 Boston Samuel Mason Elementary School Thomas J. Kenny Elementary School 2 70 61 00350304 00350328 64 153 28.30 33.40
81 Boston Mather Elementary School Warren/Prescott K-8 School 2 71 112 00350227 00350346 152 236 45.40 48.10
82 Boston John W. McCormack Middle School William E. Channing Elementary School 2 72 18 00350179 00350360 250 69 26.50 23.70
83 Boston Donald McKay K-8 School William McKinley School 2 73 78 00350080 00350363 452 252 70.10 58.50
84 Boston William McKinley Elementary School William E. Russell Elementary School 2 74 97 00350363 00350366 252 87 58.50 34.40
85 Boston William McKinley Middle School William Monroe Trotter K-8 School 2 75 105 00350363 00350370 252 165 58.50 31.80
86 Boston William McKinley South End Academy F. Lyman Winship Elementary School 2 76 114 00350363 00350374 252 32 58.50 23.00
87 Boston William McKinley Preparatory High School Thomas Edison K-8 School 2 77 32 00350363 00350375 252 278 58.50 57.30
88 Boston William McKinley School Martin Luther King, Jr. K-8 School 2 78 63 00350363 00350376 252 231 58.50 55.70
89 Boston Ellis Mendell School Higginson-Lewis School 2 79 52 00350100 00350377 82 190 26.50 27.40
90 Boston Mildred Avenue K-8 School 2 80 00350378 464 55.90
91 Boston Mission Hill K-8 School Young Achievers Science and Math K-8 School 2 81 116 00350382 00350380 107 314 24.50 54.50
92 Boston Wolfgang A. Mozart Elementary School Mission Hill K-8 School 2 82 81 00350237 00350382 46 107 18.30 24.50
93 Boston Margarita Muniz Academy Lilla G. Frederick Middle School 2 83 40 00350549 00350383 315 381 27.70 40.30
94 Boston Richard J. Murphy K-8 School Blackstone Innovation School 2 84 6 00350240 00350390 556 156 70.10 55.70
95 Boston New Mission High School Clarence R. Edwards Middle School 2 85 33 00350542 00350430 481 206 44.90 25.80
96 Boston John D. O'Bryant School of Mathematics and Science Washington Irving Middle School 2 86 56 00350575 00350445 1624 184 110.20 27.80
97 Boston Hugh R. O'Donnell Elementary School James P. Timilty Middle School 2 87 103 00350141 00350485 99 233 24.50 31.70
98 Boston William Ohrenberger School Brighton High School 2 88 16 00350258 00350505 452 402 44.80 49.80
99 Boston Orchard Gardens K-8 School Boston International Newcomers Academy 2 89 11 00350257 00350507 452 398 74.10 54.10
100 Boston James Otis Elementary School Charlestown High School 2 90 19 00350156 00350515 136 785 36.60 95.10
101 Boston Michael J. Perkins Elementary School Community Academy 2 91 22 00350231 00350518 78 51 18.40 12.70
102 Boston Oliver Hazard Perry K-8 School Excel High School 2 92 38 00350255 00350522 81 471 23.70 49.90
103 Boston John D. Philbrick Elementary School Jeremiah E. Burke High School 2 93 17 00350172 00350525 33 390 14.90 34.90
104 Boston Josiah Quincy Elementary School East Boston High School 2 94 31 00350286 00350530 245 1055 65.70 89.60
105 Boston Josiah Quincy Upper School English High School 2 95 36 00350286 00350535 245 518 65.70 58.10
106 Boston Franklin D. Roosevelt K-8 School Madison Park Technical Vocational High School 2 96 68 00350116 00350537 222 1043 36.80 128.10
107 Boston William E. Russell Elementary School Fenway High School 2 97 39 00350366 00350540 87 388 34.40 37.30
108 Boston Pauline A. Shaw Elementary School Another Course to College 2 98 3 00350014 00350541 0 236 15.50 25.00
109 Boston Snowden International School at Copley New Mission High School 2 99 85 00350690 00350542 483 481 44.00 44.90
110 Boston Charles Sumner Elementary School Greater Egleston High School 2 100 42 00350052 00350543 145 114 42.30 10.70
111 Boston Charles H. Taylor Elementary School Boston Latin Academy 2 101 12 00350054 00350545 111 1787 37.00 94.00
112 Boston TechBoston Academy Boston Arts Academy 2 102 7 00350657 00350546 901 482 95.00 53.00
113 Boston James P. Timilty Middle School Margarita Muniz Academy 2 103 83 00350485 00350549 233 315 31.70 27.70
114 Boston Maurice Tobin K-8 School Boston Community Leadership Academy 2 104 8 00350229 00350558 229 478 35.80 44.60
115 Boston William Monroe Trotter K-8 School Boston Latin School 2 105 13 00350370 00350560 165 2483 31.80 126.00
116 Boston Joseph P. Tynan Elementary School John D. O'Bryant School of Mathematics and Science 2 106 86 00350181 00350575 77 1624 28.10 110.20
117 Boston Mario Umana Academy Urban Science Academy 2 107 111 00350656 00350579 500 #N/A 64.00 #N/A
118 Boston UP Academy Boston Community Academy of Science and Health 2 108 23 04800405 00350581 349 334 35.30 41.20
119 Boston UP Academy Dorchester Mary Lyon High School 2 109 67 35050405 00350655 354 137 45.70 16.60
120 Boston UP Academy Holland Mario Umana Academy 2 110 107 00350167 00350656 216 500 48.50 64.00
121 Boston Urban Science Academy TechBoston Academy 2 111 102 00350579 00350657 #N/A 901 #N/A 95.00
122 Boston Warren/Prescott K-8 School West Roxbury Academy 2 112 113 00350346 00350658 236 #N/A 48.10 #N/A
123 Boston West Roxbury Academy Snowden International School at Copley 2 113 99 00350658 00350690 #N/A 483 #N/A 44.00
124 Boston F. Lyman Winship Elementary School Rafael Hernandez K-8 School 2 114 51 00350374 00350691 32 177 23.00 28.30
125 Boston John Winthrop Elementary School Horace Mann School for the Deaf and Hard of Hearing 2 115 54 00350180 00350750 56 50 27.00 35.50
126 Boston Young Achievers Science and Math K-8 School Boston Collaborative High School 2 116 29 00350380 00350755 314 160 54.50 15.30
127 Boston Baldwin Early Learning Pilot Academy Boston Adult Technical Academy 2 117 118 00350003 00351002 0 #N/A 15.00 #N/A
128 Boston Boston Adult Technical Academy Boston Day and Evening Academy 2 118 9 00351002 00441006 #N/A #N/A
129 Boston Lowell Dorchester Academy Cardinal O'Connell Alternative School 2 3 125 3 00350651 01600001 #N/A 0 #N/A 9.00
130 Boston Lowell EDCO Youth Bailey Elementary School 2 3 126 1 05230001 01600002 #N/A 90 #N/A 35.00
131 Boston Lowell East Boston Early Education Center STEM Academy at the Rogers School 2 3 119 20 00350009 01600005 0 510 19.30 59.00
132 Boston Lowell Ellison/Parks Early Education School McAvinnue Elementary School 2 3 120 10 00350008 01600010 0 86 21.00 39.00
133 Boston Lowell Haynes Early Education Center Greenhalge Elementary School 2 3 121 5 00350010 01600015 0 88 16.50 37.00
134 Boston Lowell Lee Academy Pyne Arts School 2 3 64 15 00350001 01600018 0 264 19.20 38.20
135 Boston Lowell Mattahunt Abraham Lincoln Elementary School 2 3 122 52 00350226 01600020 #N/A 90 #N/A 39.00
136 Boston Revere Patrick Lyndon K-8 School Lincoln Elementary School 2 4 65 5 00350262 02480025 304 175 52.50 39.10
137 Boston Winchester West Zone Early Learning Center Lincoln Elementary School 2 6 123 2 00350006 03440005 0 157 12.00 30.20
138 Boston Lowell William E. Carter School Moody Elementary School 2 3 124 11 00350036 01600027 27 43 2.00 17.80
139 Lowell Bailey Elementary School Morey Elementary School 3 1 12 01600002 01600030 90 88 35.00 37.00
140 Lowell Butler Middle School Pawtucketville Memorial Elementary School 3 2 14 01600310 01600036 550 91 42.40 34.00
141 Lowell Cardinal O'Connell Alternative School Reilly Elementary School 3 3 16 01600001 01600040 0 89 9.00 32.20
142 Lowell Daley Middle School Shaughnessy Elementary School 3 4 19 01600315 01600050 691 92 50.20 38.00
143 Lowell Greenhalge Elementary School Washington Elementary School 3 5 25 01600015 01600055 88 46 37.00 23.00
144 Lowell Laura Lee Therapeutic Day School McAuliffe Elementary School 3 6 9 01600085 01600075 23 91 6.80 37.00
145 Lowell LeBlanc Therapeutic Day School Murkland Elementary School 3 7 13 01600320 01600080 36 87 7.30 35.00
146 Lowell Lowell High School Laura Lee Therapeutic Day School 3 8 6 01600505 01600085 3048 23 212.90 6.80
147 Lowell McAuliffe Elementary School Bartlett Community Partnership School 3 9 26 01600075 01600090 91 256 37.00 40.80
148 Lowell McAvinnue Elementary School Butler Middle School 3 10 2 01600010 01600310 86 550 39.00 42.40
149 Lowell Moody Elementary School Daley Middle School 3 11 4 01600027 01600315 43 691 17.80 50.20
150 Lowell Morey Elementary School LeBlanc Therapeutic Day School 3 12 7 01600030 01600320 88 36 37.00 7.30
151 Lowell Murkland Elementary School Robinson Middle School 3 13 18 01600080 01600330 87 658 35.00 45.40
152 Lowell Pawtucketville Memorial Elementary School Sullivan Middle School 3 14 22 01600036 01600340 91 641 34.00 47.00
153 Lowell Pyne Arts School Wang Middle School 3 15 24 01600018 01600345 264 668 38.20 46.00
154 Lowell Reilly Elementary School Stoklosa Middle School 3 16 21 01600040 01600360 89 656 32.20 53.60
155 Lowell Riverside School Lowell High School 3 17 8 01600920 01600505 #N/A 3048 #N/A 212.90
156 Lowell Robinson Middle School The Career Academy 3 18 23 01600330 01600515 658 94 45.40 9.90
157 Lowell Shaughnessy Elementary School Adie Day School 3 19 51 01600050 01600605 92 32 38.00 11.00
158 Lowell STEM Academy at the Rogers School Riverside School 3 20 17 01600005 01600920 510 #N/A 59.00 #N/A
159 Lowell Milford Stoklosa Middle School Memorial Elementary School 3 7 21 4 01600360 01850010 656 0 53.60 38.40
160 Lowell Milford Sullivan Middle School Brookside Elementary School 3 7 22 3 01600340 01850065 641 0 47.00 39.40
161 Lowell Milford The Career Academy Shining Star Early Childhood Center 3 7 23 5 01600515 01850075 94 0 9.90 7.60
162 Lowell Milford Wang Middle School Woodland Elementary School 3 7 24 1 01600345 01850090 668 656 46.00 81.20
163 Lowell Milford Washington Elementary School Stacy Middle School 3 7 25 26 01600055 01850305 46 1032 23.00 76.40
164 Lowell Milford Bartlett Community Partnership School Milford High School 3 7 26 2 01600090 01850505 256 1257 40.80 95.20
165 Lowell Revere Adie Day School Whelan Elementary School 3 4 51 7 01600605 02480003 32 256 11.00 53.50
166 Lowell Revere Abraham Lincoln Elementary School Beachmont Elementary School 3 4 52 1 01600020 02480013 90 97 39.00 29.00
167 Revere Beachmont Elementary School Rumney Marsh Academy 4 1 9 02480013 02480014 97 600 29.00 50.50
168 Revere Garfield Elementary School Hill Elementary School 4 2 4 02480056 02480035 201 237 57.80 47.50
169 Revere Garfield Middle School Paul Revere Elementary School 4 3 6 02480057 02480050 568 159 44.90 41.50
170 Revere Hill Elementary School Garfield Elementary School 4 4 2 02480035 02480056 237 201 47.50 57.80
171 Revere Lincoln Elementary School Garfield Middle School 4 5 3 01600020 02480057 90 568 39.00 44.90
172 Revere Paul Revere Elementary School Susan B. Anthony Middle School 4 6 8 02480050 02480305 159 575 41.50 49.00
173 Revere Whelan Elementary School Revere High School 4 7 10 02480003 02480505 256 1978 53.50 135.60
174 Revere Susan B. Anthony Middle School Seacoast High School 4 8 11 02480305 02480520 575 81 49.00 12.80
175 Revere Somerville Rumney Marsh Academy Michael E. Capuano Early Childhood Center 4 5 9 12 02480014 02740005 600 0 50.50 23.30
176 Revere Somerville Revere High School Benjamin G. Brown School 4 5 10 2 02480505 02740015 1978 78 135.60 15.80
177 Revere Somerville Seacoast High School Arthur D. Healey School 4 5 11 1 02480520 02740075 81 235 12.80 42.80
178 Somerville Arthur D. Healey School Dr. Albert F. Argenziano School at Lincoln Park 5 1 3 02740075 02740087 235 290 42.80 45.70
179 Somerville Benjamin G. Brown School East Somerville Community School 5 2 4 02740015 02740111 78 392 15.80 54.20
180 Somerville Dr. Albert F. Argenziano School at Lincoln Park West Somerville Neighborhood School 5 3 9 02740087 02740115 290 193 45.70 29.30
181 Somerville East Somerville Community School Winter Hill Community Innovation School 5 4 10 02740111 02740120 392 230 54.20 46.70
182 Somerville Full Circle High School Somerville High School 5 5 8 02740510 02740505 56 1215 10.70 113.20
183 Somerville John F. Kennedy Elementary School Next Wave/Full Circle 5 6 5 00350166 02740510 115 56 27.10 10.70
184 Somerville Wareham Next Wave Junior High School John William Decas Elementary School 5 8 5 1 02740410 03100003 15 0 5.90 48.50
185 Somerville Wareham Somerville High School Minot Forest Elementary School 5 8 8 2 02740505 03100017 1215 134 113.20 25.70
186 Somerville Wareham West Somerville Neighborhood School Wareham Middle School 5 8 9 3 02740115 03100305 193 533 29.30 36.00
187 Somerville Wareham Winter Hill Community Innovation School Wareham Cooperative Alternative School 5 8 10 8 02740120 03100315 230 33 46.70 2.60
188 Somerville Wareham Michael E Capuano Early Childhood Center Wareham High School 5 8 12 4 02740005 03100505 0 585 23.30 59.20
189 Winchester Ambrose Elementary School Lynch Elementary School 6 1 3 03440045 03440020 130 158 30.20 43.20
190 Winchester Lincoln Elementary School Vinson-Owen Elementary School 6 2 5 01600020 03440025 90 136 39.00 36.30
191 Winchester Lynch Elementary School Muraco Elementary School 6 3 4 03440020 03440040 158 136 43.20 25.30
192 Winchester Muraco Elementary School Ambrose Elementary School 6 4 1 03440040 03440045 136 130 25.30 30.20
193 Winchester Vinson-Owen Elementary School McCall Middle School 6 5 6 03440025 03440305 136 1084 36.30 85.30
194 Winchester McCall Middle School Winchester High School 6 6 7 03440305 03440505 1084 1403 85.30 98.20
195 Winchester Boston Winchester High School Dudley Street Neighborhood Charter School 6 2 7 30 03440505 04070405 1403 77 98.20 10.30
196 Milford Boston Woodland Elementary School Boston Green Academy 7 2 1 10 01850090 04110305 656 509 81.20 57.50
197 Milford Boston Milford High School UP Academy Boston 7 2 2 108 01850505 04800405 1257 349 95.20 35.30
198 Milford Boston Stacy Middle School UP Academy Dorchester 7 2 26 109 01850305 35050405 1032 354 76.40 45.70
Milford Brookside Elementary School 7 3 01850065 0 39.40
Milford Memorial Elementary School 7 4 01850010 0 38.40
Milford Shining Star Early Childhood Center 7 5 01850075 0 7.60
Wareham Minot Forest Elementary School 8 2 03100017 134 25.70
Wareham Wareham Middle School 8 3 03100305 533 36.00
Wareham Wareham High School 8 4 03100505 585 59.20
Wareham Wareham Cooperative Alternative School 8 8 03100315 33 2.60
Wareham John William Decas Elementary School 8 1 03100003 0 48.50

@ -0,0 +1,6 @@
class MakeSchoolDeseIdUnique < ActiveRecord::Migration[6.1]
def change
ActiveRecord::Base.connection.execute("UPDATE schools SET dese_id = id")
add_index :schools, :dese_id, unique: true
end
end

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_11_18_143017) do
ActiveRecord::Schema.define(version: 2021_11_19_223051) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@ -280,6 +280,7 @@ ActiveRecord::Schema.define(version: 2021_11_18_143017) do
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.integer "dese_id", null: false
t.index ["dese_id"], name: "index_schools_on_dese_id", unique: true
end
create_table "subcategories", id: :serial, force: :cascade do |t|

@ -32,6 +32,7 @@ namespace :one_off do
task add_dese_ids: :environment do
all_schools = School.all.includes(:district)
updated_schools = []
qualtrics_schools = {}
@ -54,13 +55,17 @@ namespace :one_off do
end
if school.nil?
puts "Could not find school with district id: #{district_id}, school id: #{school_id}"
school_name = csv_row['School Name'].strip
puts "Could not find school '#{school_name}' with district id: #{district_id}, school id: #{school_id}"
potential_school_ids = School.where('name like ?', "%#{school_name}%").map(&:id)
puts "Potential ID matches: #{potential_school_ids}" if potential_school_ids.present?
next
end
school.update!(dese_id: csv_row['DESE School ID'])
updated_schools << school.id
end
School.where(dese_id: -1).each {|school| puts "School with nil dese id: #{school.name}, id: #{school.id}"}
School.where.not(id: updated_schools).each {|school| puts "School with unchanged DESE id: #{school.name}, id: #{school.id}"}
end
end

@ -8,7 +8,7 @@ FactoryBot.define do
factory :school do
name { "#{rand} School" }
slug { name.parameterize }
dese_id { rand(1000) }
sequence(:dese_id, 1000)
district
end

Loading…
Cancel
Save