course-network / degree-requirement-dag

3 stars 0 forks source link

Parse basic course data #1

Open mintzj opened 5 years ago

mintzj commented 5 years ago

Parse requirements listed on the course pages linked from the course catalog. Parse the course name, course number, but just store the pre-requisites as text and we can parse it later.

Example:

{
  "CS 161": "CS160 and (MTH101 or MTH101H)",
  "CS 162": "CS161"
}

https://catalog.oregonstate.edu/courses/

wilsonia commented 5 years ago

I've wrote a set of python scripts that accomplish this. PR: https://github.com/course-network/network-visualization/pull/4

It saves the 'courses.obj' file as a python object, as we still need to parse the prerequisite string.

wilsonia commented 5 years ago

PR 4 was closed and not merged, so this issue is addressed in PR 6