Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull more information from CAPE results? #10

Open
niemasd opened this issue Aug 22, 2019 · 3 comments
Open

Pull more information from CAPE results? #10

niemasd opened this issue Aug 22, 2019 · 3 comments

Comments

@niemasd
Copy link

niemasd commented Aug 22, 2019

Where do the data come from? Is there any way to integrate more information about instructors than a relative ranking, as well as more data about the course than time commitment and an expected grade? For example, looking up some CAPE results, the data in the "Full Details" section of a given CAPE result is quite information-rich

I'm not sure how you're pulling the data, they seem to let you search by department without a name or course number, so one could probably do something like the following:

  • For each department d (via ctl00$ContentPlaceHolder1$ddlDepartments):
    • Select d and perform the search
    • For each CAPE result r:
      • Pull the raw HTML for the web page of r
      • Parse all the information in the "Full Details" section (e.g. by having a mapping of span IDs to information)

This is an awesome project that I imagine would be very helpful to students! Good luck :-)

@andportnoy
Copy link
Owner

The notebook together with tools.py shows how the data are pulled. The trick is that each professor's name is stored as <lastname>, <firstname>, so querying for , essentially drops the table.

That's a great idea and I've looked at that info before. Unfortunately these "full details" pages use several different formats and the data available also vary. But it definitely could be interesting to pick something in the intersection and implement a richer comparison.

@andportnoy
Copy link
Owner

@niemasd By the way, how did you find out about Smarter Capes? Thanks for leaving your feedback!

@niemasd
Copy link
Author

niemasd commented Aug 22, 2019

It was shared on /r/ucsd!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants