This is the repository for the website (also known as hugems.net). You can check out the code for web scraping and analytics at this other repo.
If you found it useful, you can
We use Angular CLI, so make sure to download it beforehand.
- Create a new component by running in terminal
ng generate component Fall2024
. Check if it is now imported atapp.module.ts
. - Edit
src/app-routing.module.ts
. - Edit
src/app/archive/archive.component.ts
. Remember to upload theverbose_course_ratings.csv
to Drive. - Copy over the
output_data
folder from the scraping repo to the folder of the component and rename it to justdata
. - Copy over the
departments
folder from the scraping repo into a new folder underassets/data/
named after the next term. - Copy over the
???.component.ts
from another recent component and make necessary changes. You need to handpick the featured ~5 Super Gems, Hidden Gems, and Great Courses fromcourse_ratings_analysis.ipynb
in the scraping repo (look for the cells that present to you a candidate list of each). Also edit the my.harvard search term. - Copy over the
???.component.html
from another recent component and make necessary changes. Remember to change the number of classes near the top, and the link at the bottom. Simply count the number of files in themyharvard
folder in the scraping repo, or count the number of files in theQGuides
, which can be more accurate (for the past year, and this is the number reported at the website). - Run
ng serve
to test it out. ng deploy
Contributions are welcome! Please open a pull request.
- @jnberkman