If actually ordered by congressional representation the top-3 would be:
1) Harvard
2) Yale
3) Georgetown
If actually ordered by congressional representation the top-3 would be:
1) Harvard
2) Yale
3) Georgetown
So I decided to make the text-mining easier by just searching for well-known schools. It's possible that a few of the big public prestigious schools, such as University of Michigan, would be near the top. The raw text from each Congressmember's biography can be found in the repo:
https://github.com/dannguyen/congress-colleges/tree/master/d...
It's probably possible to (easily) automate the classification of how many Congressmembers served in the military or passed the bar...but I can save that for another day.
I would however at least provide the option to sort by congressmembers, and likely would make that the default. That would be more informative: anyone can look up the USNEWS Top-25.
So mine the membership list for the members' names and the URLs of their personal Wikipedia pages, then mine the info box on each personal page for university affiliations. The links will allow you to disambiguate universities with similar names.
Pages also exist listing the membership of almost all former U.S. Congresses, so you could repeat the process going back in time; it would be interesting to see how affiliations have changed and diversified (or not) over the years. A similar process would work for finding the academic affiliations of members of the U.S. Supreme Court and the president's cabinet, as well as of state governors; it might even work to find comparable information for some sets of foreign poliicians (e.g., British MPs or members of European Parliament).
(And I agree with arcanus; you should change your page to sort by the count of affiliated members of Congress, not U.S. News rank, as it's the former that is the information being presented, not the latter.)
0. https://en.m.wikipedia.org/wiki/114th_United_States_Congress
It wouldn't require a big traversal of Wikipedia (though I imagine that would be easy enough)...the unitedstates Github repo, which is a semi-automated crowdsourced repo of Congress data, has all the historical Congressmembers as structured YAML, including their Wikipedia page (though I haven't counted to see how many have that attribute filled):
Not having it be per-capita overvalues high population schools like Harvard.
Also, it's Johnssssssss =P