Skip to content
A small Java program that scrapes and creates an XML database of all courses available at UBC Okanagan.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
UBCO_Degree_Visualizer
src/ca/ubc/okanagan
.classpath
.gitignore
.project
LICENSE
README.md
UBCOCourseScrape_V101.zip
UBCOCourseScrape_V2.zip
courses.txt
courses.xml
gson-2.8.2-javadoc.jar
illegal.dat
jsoup-1.11.2.jar
keywords.dat

README.md

Data extracted

Extracts:

  • Course types by code and name (e.g. COSC - Computer Science, ANTH - Anthropology, etc.)
  • Course sections (e.g. COSC 111, COSC 121, etc.)
  • Credits
  • Course title
  • Course description
  • Prerequisites
  • Corequisites
  • Equivalency

Sample

<coursetype code="MUSC" fullname="Music">
    <course>
        <section>100</section>
        <credits>3</credits>
        <title>Principles of Musical Form</title>
        <description>Fundamental materials and processes of music - rhythmic, melodic, textural, ...</description>
        <prerequisite boolean="">None</prerequisite>
        <corequisite>None</corequisite>
        <equivalency>None</equivalency>
    </course>
    <course>
        <section>103</section>
        <credits>3</credits>
        <title>Introduction to the Theory of Music</title>
        <description>Concepts of rhythm, pitch, timbre, and texture; ...</description>
        <prerequisite boolean="">None</prerequisite>
        <corequisite>None</corequisite>
        <equivalency>None</equivalency>
    </course>
    ...
</coursetype>

TODO

Currently working on adding custom boolean expressions for prerequisites that make them computer readable. E.g. if a prerequisite is "One of Math 100, Math 101 or Math 200" it evaluates to "OR(MATH 100,MATH 101,MATH 200)"

Note

Not actually meant for public use, just using GitHub to synchronize my work across my devices easily. Also allows people to see what kind of work I do.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.