In order to help me to takeÂ decisions about which class to take every semesterÂ I did a web scrappingÂ from the graduate and undergraduate bulletin. For every class I could get classe name, prerequisites, credits, teacher, program, description, etc, in a formated tabular document.
Using Python CSV library I could read the tables and parse the data to other formats. One format very useful to handle graph structures is theÂ DOT language script (included in theÂ GraphvizÂ project), in which you can describe both the graph structure and the elements of the graph layout.
Here is the Python source-code to convert the tables to graphs at Github.
The final result (click to view in full size):
Limitations and comments:
- Prerequisites are only displayed using AND logic. It’s not showing other logics as OR (equivalent classes).
- Errors may exists due to the scrapping process,Â conversions, or in the errors in the original source.
GWU Computer Science Graduate Classes Graph http://t.co/Ynv8Pmml