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